防止通过 PHPMailer 发送的订单确认最终成为垃圾邮件

发布于 2024-10-02 13:42:29 字数 163 浏览 0 评论 0原文

当我通过 PHPMailer 发送订单确认时,它们通常会出现在 Google、Yahoo 和 Hotmail 的垃圾邮件文件夹中,并且需要很长时间才能送达。以这种方式发送确认信息时,是否有清单或我应该注意的事项?我从大多数网站订购或注册的邮件都会立即送达,并且不会被标记为垃圾邮件。有什么是他们知道而我不知道的?

When I send order confirmations via PHPMailer, they usually end up in spam folders of Google, Yahoo and Hotmail and also take a long time to deliver. Is there a checklist or something of things I should be aware of when sending confirmations this way? Mail from most sites that I order from or register to gets delivered instantly and doesn't get flagged as spam. What do they know that I don't?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

白色秋天 2024-10-09 13:42:29

电子邮件最终成为垃圾邮件的原因有很多。尝试在电子邮件正文中添加更多信息。在电子邮件正文或主题中提及用户姓名也有帮助。
并检查您的服务器是否未列入黑名单 http://www.mxtoolbox.com/blacklists.aspx 这种情况在共享网络托管上经常发生。有人发送垃圾邮件,整个服务器都被列入黑名单。

There are tons of reasons why email could end up in spam. Try to put more information in the body of the email. Mentioning users name and surname in email's body or subject also helps.
And check if your server isn't black listed http://www.mxtoolbox.com/blacklists.aspx This happens a lot on shared web hosting. Someone sends out spam, and the whole server gets blacklisted.

雪化雨蝶 2024-10-09 13:42:29

这实际上不是由 PHPMailer 引起的,而是由电子邮件中的内容、电子邮件发送主机或触发其被视为垃圾邮件的类似性质的内容引起的。=

This actually isn't caused by PHPMailer, it's caused by the content in the email, the email sent host, or something of that nature that is triggering it to be thought of as spam.=

无悔心 2024-10-09 13:42:29

正如 Webnet 所说,它可能是电子邮件的内容或来源。例如,我的公司在 Amazon AWS 上托管一个网站,但密码和帐户恢复电子邮件被标记为垃圾邮件。解决方案?我们使用 Zend::Mail 连接到非 AWS 主机并从其发送电子邮件。

As Webnet said, it could be the content of the email or the source. For example, my company is hosting a website on Amazon AWS but password and account recovery emails are being flagged as spam. Solution? We used Zend::Mail to connect to and send the emails from a non-AWS host.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文