如何使用PHP在Hotmail的INBOX(而非JUNK)中发送电子邮件? [英] How to send email in Hotmail's INBOX instead of JUNK using PHP?

查看:148
本文介绍了如何使用PHP在Hotmail的INBOX(而非JUNK)中发送电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如我的问题所述,与垃圾邮件相比,有没有其他方法可以将脚本中的电子邮件发送到收件箱中?
我使用了mail()和带有标头的各种变体,然后使用PHPMailer进行了很多测试,设置了SMTP等,但是什么也没有。所有电子邮件都发送到垃圾邮件文件夹中。关于用户购买商品的电子邮件通知。



我正在bluehost上使用共享托管。



请分享我的想法或代码(如果有的话)。

解决方案

通过大型邮件提供商的垃圾邮件过滤器可靠地获取邮件需要更多工作和访问权限是任何单个开发人员所无法比拟的。



您可以从可以控制的内容开始,例如IP的RDNS记录,邮件服务器的SPF记录,设置DomainKeys等。这会有所帮助。 / p>

但是您永远都不会协商白名单的访问权限,合法的电子邮件公司必须将其邮件发送给这些客户,以及他们为保留在这些白名单上并删除他们的日常工作



简短的答案:如果您希望通过编程方式将邮件可靠地发送到收件箱,请使用该企业中某人的服务。



http://www.sendgrid.com



http://www.postmarkapp.com



http://aws.amazon.com/ses


As my question says, is there any possible way to send an email from your script into the inbox than junk ? I used mail() and very variations with headers, then a lot of tests with PHPMailer , set SMTP etc but nothing. All of the emails are sent into the Junk folder.

I am curious on how I get so many newsletters or simple emails from blogs into my inbox and I can not send properly an email notification about a purchase that a user made.

I am using shared hosting on bluehost.

Please share me your thoughts or code (if there is any).

解决方案

Getting mail past the big mail provider's spam filters reliably requires more work and access than any single developer has.

You can start with things you can control, like RDNS records for your IP, SPF records for the mail server, setting up DomainKeys, etc. That'll help.

But you'll never negotiate the whitelist access legitimate e-mail companies have to get their mail to these clients and the daily work they do to stay on those whitelists and remove their IPs from blacklists.

The short answer: If you want programmatically sent mail to reach inboxes reliably, then use the services of someone in that business.

http://www.sendgrid.com

http://www.postmarkapp.com

http://aws.amazon.com/ses

这篇关于如何使用PHP在Hotmail的INBOX(而非JUNK)中发送电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆