Magento / Zend_Mail() 将邮件发送到垃圾邮件

发布于 2025-01-01 02:57:50 字数 212 浏览 0 评论 0原文

Magento 很复杂...

所以来自我的 Magento 安装的所有邮件都会直接发送到垃圾邮件。我们认为是 SMTP 服务器或标头被设置。我在 Stack 上读了一些关于更改 Zend_Mail() 标头的文章,但它们都不是 Magento 特定的,所以无论我在哪里放置标头,它总是会出错。

有谁知道我可以去哪里编辑 Magentos Zend_Mail() 正在使用的标头?

Magento is complicated...

So all the mail coming from my Magento install is being sent straight to spam. We believe it's either the SMTP server or the headers being set. I read a few articles on Stack about changing Zend_Mail() headers but none of them were Magento specific so anywhere I put the header it would always error out on me.

Does anybody know where I can go to edit the headers that Magentos Zend_Mail() is using?

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

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

发布评论

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

评论(2

戈亓 2025-01-08 02:57:50

电子邮件不应立即成为垃圾邮件。取决于您的服务器托管位置,即是否是共享 IP,以及共享该 IP 的其他网站是否已被 ISP 列入白/黑名单 反馈循环 - 这可能会影响垃圾邮件过滤器。此外,标头信息也可能导致这些问题。

由于间接/替代解决方案是通过第三方建立的 SMTP 服务器中继您的电子邮件,如果您的电子邮件量较少,您可以使用 Google Apps(500 封/天),或者如果您需要更多电子邮件吞吐量,您可以使用类似http://sendgrid.com

在magento中实现这一点的一个很好的模块是: http://www.magentocommerce.com/magento-connect/aschroder-com-smtp-pro-email-free-and-easy-magento-emailing-for-smtp-gmail-or-google- apps-email.html

[edit] 此外,设置 postfix 或任何电子邮件服务器可能相当复杂。最后,像 sendgrid 这样的 smtp 中继让您能够通过控制面板或相当广泛的 API 来监控电子邮件的打开、退回等情况。这对于电子商务网站非常有用,因为发送电子邮件是吸引回头客等的好方法。

是的。 magento 是非常复杂但高度可扩展的系统,是您可以体验的最有趣的开源 PHP 实现之一。

Email should not be ending up in spam out of the box. Depending upon where your server is hosted i.e. if it's a shared IP, and if other websites that share that IP are white/black listed with ISP feedback loops - this can affect spam filters. Additionally, the header info can cause these issues as well.

As an indirect/alternative solution is to relay your email through a 3rd party established SMTP server, if you have a low volume of emails you can use Google Apps (500/day), or if you need more email throughput you can use something like http://sendgrid.com.

A great module to accomplish this in magento would be: http://www.magentocommerce.com/magento-connect/aschroder-com-smtp-pro-email-free-and-easy-magento-emailing-for-smtp-gmail-or-google-apps-email.html

[edit] Additionally, setting up postfix or any email server can be rather complicated. Lastly, smtp relays like sendgrid give you the ability to monitor email opens, bounces, etc. via the control panel or a rather extensive api. This is very useful for ecommerce websites since sending emails can be a very good way to have repeat customers and so forth.

Yes. magento is very complex but highly extensible system, one of the most interesting open source PHP implementations you can experience.

岁月静好 2025-01-08 02:57:50

是的,我同意 Magento 很复杂,有时 Magento Zend_Mail 会出现问题。

我有类似的问题。 magento 网站上有一篇 Wiki 帖子可能对您有帮助无垃圾邮件指南或者你可以看看 Magento 垃圾邮件免费邮件

Yes, I agree that Magento is complicated, and some times there is problem with Magento Zend_Mail.

I was having similar issue. There is a Wiki post on magento website that might be helpful for you Spam Free Guide or you can look at this thread at Magento Spam free mail

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