电子邮件包含图像并进入垃圾邮件 [英] Email contains Image and going in Spam
本文介绍了电子邮件包含图像并进入垃圾邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在创建一个邮件应用程序,它发送电子邮件包含1张图像(大小为500KB)。邮件总是在垃圾邮件文件夹中,它总是要求显示下面的图像。我还插入了所有必要的标题:
I am creating a mail application which sends Email contains 1 Image(size-500KB). The mail is always going in spam folder and it always ask to 'Display Image Below'. I am also inserting all the necessary Headers which is:
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
$headers .= "Reply-To: webmaster@example.com" . "\r\n" .
$headers .= "X-Mailer: PHP/" . phpversion();
mail($to,$subject,$message,$headers);
如何防止邮件进入垃圾邮件和图像应该显示而不点击'显示下面的图像'?
Thanx
How do i prevent mail going in Spam and Image should display without clicking 'Display Image Below'?
Thanx
推荐答案
headers = MIME-Version:1.0。 \\\\ n;
headers = "MIME-Version: 1.0" . "\r\n";
headers 。= Content-type:text / html; charset = iso-8859-1。 \\\\ n;
headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
headers 。= 回复:webmaster@example.com。 \\\\ n。
headers .= "Reply-To: webmaster@example.com" . "\r\n" .
这篇关于电子邮件包含图像并进入垃圾邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文