我知道这个问题有几个问题,这是基本的问题,但我搜查了最后三天,但我仍然无法发送图像在email.please帮助我如何嵌入我的电子邮件中的图像是哪个标题我应该包含在标题 我写下面的代码。如何发送使用php和html的电子邮件中的嵌入图像
$to = "[email protected]";
$subject = "new account created";
$body = "New account has been created
<img border=’0' src=’http://www.example.com/myimages/track.php?MID=1111&SID=2222' width=’1' height=’1'>
" ;
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
$headers .= "From: [email protected]";
$neww=mail($to,$subject,$body,$headers);
许多用户不喜欢你窥视他们,所以他们阻止你的照片 - 好! – hakre