Php mail function send mail to spam on gmail and aol

走远了吗. 提交于 2019-12-08 09:12:29

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/9817386/php-mail-function-send-mail-to-spam-on-gmail-and-aol

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!