PHP邮件功能发送邮件到Gmail和AOL垃圾邮件 [英] Php mail function send mail to spam on gmail and aol
问题描述
我使用了默认的 mail()
函数来发送电子邮件,它成功地发送了电子邮件给yahoo,但是在Gmail上我的电子邮件由于验证链接而进入垃圾邮件文件夹,如果我删除该链接然后进入收件箱
就像这样
domain.com /abnd.html?code=asdjkahsjkdhkasjghdksghdkjgsakjdg
如果删除代码正常,代码会在gmail上发送垃圾邮件。 b
$ b
请帮助解决方案
可能有多种因素:
$ b
您可以使用 AOL Postmaster提供的许多优质资源和有用的信息网站,其中包括将邮件发送至AOL.com的技术政策要求,以及反馈循环。
另外有关更多信息,请参阅 Google批量发件人指南。
I have used default mail()
function to send email it sends emails to yahoo successfully but on gmail my emails are going to spam folder due a verification link, if I remove that link then goes to inbox
like is like this
domain.com/abnd.html?code=asdjkahsjkdhkasjghdksghdkjgsakjdg
if remove code then works, with code it goes to spam on gmail.
please help
Could be a number of factors:
- Maybe the actual domain name or part of the URL is affecting the overall spam score
- Is your email valid HTML and/or and have proper headers
- Does the IP address sending mail have a valid PTR record
- Are there additional headers being included in the email by the server that you may not want
There are a lot of good resources and helpful things you can use from the AOL Postmaster site including Technical Policy Requirements for Sending Mail to AOL.com, and the feedback loop.
Also see Google Bulk Sender Guidelines for more.
这篇关于PHP邮件功能发送邮件到Gmail和AOL垃圾邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!