Hotmail / Yahoo(其他?)阻止电子邮件通知?

发布于 2024-07-11 00:50:15 字数 722 浏览 5 评论 0原文

我有一个网站(目前正在为第三方开发,很抱歉我无法展示),要求用户在注册该网站时通过单击发送到其电子邮件地址的链接来确认其联系信息。

这是一个相当标准的做法,不是很技术性或独特,这就是为什么我惊讶地发现 Hotmail 和 Yahoo(也许还有其他人,我不确定)正在阻止通过运行的 PHP 代码动态生成的任何电子邮件网站。

我正在使用 PHP 框架 CodeIgniter,并利用他们的电子邮件库。 我检查了我的代码,一切看起来都很棒,我还查看了电子邮件类,它看起来也很出色。

更不用说,发送的邮件会传递到我尝试过的所有其他邮件服务,包括 gmail 和几个 POP 帐户。 这让我相信问题出在 Hotmail/Yahoo 端。

我怀疑他们由于格式、主题内容或其他一些任意问题而故意拒绝/退回邮件。

HTML 电子邮件设计非常简单,仅真正利用 HTML 作为标题标记和链接。 邮件的主题只是简单地写着“欢迎来到____”,并由“support@______.com”发送。

我的问题是,是否有任何与可能导致此问题的原因相关的文章,我可以阅读这些文章以更好地理解邮件被拒绝的原因,以便我可以解决问题?

文章或文档最好来自 Hotmail 和 Yahoo(包含内部信息),或者来自经历过相同问题并已找到解决方案的人。

另外,是否有任何可用的实用程序可以测试消息到达服务器后实际发生的情况(即消息是否被退回,或者其他什么情况?)

非常感谢! :)

I've got a website (currently in development for a third party, I'm sorry I can't show) that requires users to confirm their contact information by, clicking on a link sent to their email address, upon registration for the website.

It's a pretty standard practice, not very technical or unique, which is why I was surprised to find that Hotmail and Yahoo (and maybe others, I'm not sure) are blocking any email messages that are generated dynamically via the PHP code that runs the website.

I'm using the PHP framework CodeIgniter, and making use of their email library. I've checked my code and everything looks great, and I've also looked over the email class and it looks tip-top as well.

Not to mention, the message sent are delivered to every other mail service I've tried, including gmail, and several POP accounts. This leads me to believe that the problem is on the Hotmail/Yahoo end.

I suspect they are purposefully rejecting/bouncing the message due to formatting, subject content, or some other arbitrary issue.

The HTML email design is minimal, only really utilizing HTML for header tags a link. The subject of the message simply states "Welcome to ____", and is addressed from "support@______.com".

My question is, are there any articles relating to what could be causing this that I could read to better understand why the messages are being rejected, so I can fix the issue?

Preferably the article or document would be from Hotmail and Yahoo (with inside info), or from somebody who has experienced the same issue, and has come to a solution.

Also, are there any available utilities to test what is actually happening with the message once it hits their servers (i.e. Is it being bounced, or something else?)

Thank you very much! :)

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

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

发布评论

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

评论(4

谎言 2024-07-18 00:50:15

确保您的域具有 SPF 记录,并且设置正确。 这将会有很长的路要走。

电子邮件的送达率是一个复杂的话题。 在之前的演出中,我是 ESPC 的成员。 此 PDF 链接可能会有所帮助,但可能已过时。 另请参阅其他类似的问题

Make sure you have SPF records for your domain, and that they are set correctly. This will go a long way.

Email deliverability is a complex topic. At a previous gig, I was a member of the ESPC. This PDF link may be helpful, or outdated. Also see this other similar SO question.

听你说爱我 2024-07-18 00:50:15

我的朋友有一个通知系统,他的 PHP 代码使用 SMTP 发送通知。 所以他的通知确实是从他的 Gmail 帐户发送的。 他这样做是为了防止 hotmail/etc 自动阻止电子邮件。

我不知道这是否有帮助

My friend had a notification system that he has his PHP code send the notifications using a SMTP. So his notiifications were really sent from his Gmail account. He did this to prevent hotmail/etc from auto blocking the emails.

I don't know if this helps

不乱于心 2024-07-18 00:50:15

您的电子邮件以什么标题结尾?
电子邮件中是否包含足够的“有价值的文本”,或者主要是链接(指向您的网站、确认链接、“联系我们”链接等)。 这可以在垃圾邮件过滤器等中发挥重要作用,以确定电子邮件是否包含原始且有价值的内容。

What headers are yous ending along with your e-mail?
Does it contain enough "valueable text" within the e-mail, or is it mostly links (to your site, the confirmation link, the "contact us"-link, ...). This can play a big part in spamfilters a like, to determine whether an e-mail contains original and valueable content.

空‖城人不在 2024-07-18 00:50:15

我也遇到类似的问题 - 仅限 hotmail.com。 Gmail 和当地国家提供商工作正常。
我的邮件是这样组合的:

 $headers  = "MIME-Version: 1.0\r\n";
 $headers .= "Content-type: text/plain; charset=iso-8859-1\r\n";
 $headers .= "X-Priority: 1\r\n";
 $headers .= "X-MSMail-Priority: High\r\n";
 $headers .= "X-Mailer: Company name\r\n";
 $headers .= "From: \"Company name\" <[email protected]>";
 mail($email, "title", $message, $headers,"[email protected]");

欢迎所有建议

I'm having similar problems - only with hotmail.com. Gmail, and local national providers work OK.
My mail is combined as such:

 $headers  = "MIME-Version: 1.0\r\n";
 $headers .= "Content-type: text/plain; charset=iso-8859-1\r\n";
 $headers .= "X-Priority: 1\r\n";
 $headers .= "X-MSMail-Priority: High\r\n";
 $headers .= "X-Mailer: Company name\r\n";
 $headers .= "From: \"Company name\" <[email protected]>";
 mail($email, "title", $message, $headers,"[email protected]");

All suggestions welcome

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