我的邮件被发送到垃圾邮件文件夹...我的标头有什么问题吗?
我使用 PHP 邮件,并且有以下标头:
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8; format=flowed;
Content-Transfer-Encoding: 8Bit
X-Mailer: Pressflow
Errors-To: [email protected]
Return-Path: [email protected]
Sender: [email protected]
From: Some Email <[email protected]>
X-SMTPAPI: {"category":"key:some_key"}
其中 [email protected] 是合法的电子邮件,但我不会在这里透露它...
有没有办法修改这个标头,例如我的邮件不会被发送到 Outlook 中的垃圾邮件文件夹吗?
I'm using PHP mail and I have the following headers:
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8; format=flowed;
Content-Transfer-Encoding: 8Bit
X-Mailer: Pressflow
Errors-To: [email protected]
Return-Path: [email protected]
Sender: [email protected]
From: Some Email <[email protected]>
X-SMTPAPI: {"category":"key:some_key"}
Where [email protected] is a legitimate email, but I wouldn't disclose it here...
Is there a way to modify this header such that my mail wouldn't get sent to the spam folder in Outlook?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
查看 SPF 和 DKIM。如需更简单的替代方案,请尝试电子邮件传送服务,例如 Mad Mimi 或 MailChimp.
Look into SPF and DKIM. For an easier alternative, try email delivery services such as Mad Mimi or MailChimp.
不,否则垃圾邮件过滤器将毫无用处
No, otherwise spam filer would be useless
标头并不是垃圾邮件过滤器检查的唯一内容。他们还要检查身体,否则的话,他们就没什么用了。
有大量可用的工具和文章可以帮助您缩小邮件看起来像垃圾邮件的范围。
对于正文问题,您可以使用在线工具,例如这个
之前如此问过很多次,简单搜索
php邮件垃圾邮件
就会给你这个问题,它不仅包含有用的信息,而且评论中还包含大量相关问题。Headers aren't the only things checked by spam filters. They also check the body, otherwise, they would be pretty useless.
There are plenty of tools and articles available which will help you narrow down why your mail looks like spam.
For issues with the body text, you can use an online tool like this one
Also this has been asked so many times before, a simple search of
php mail spam
would have given you this question, which has not only helpful information, but a load of related questions in the comments.