PHP邮件功能发送邮件到Gmail和AOL垃圾邮件 [英] Php mail function send mail to spam on gmail and aol

查看:162
本文介绍了PHP邮件功能发送邮件到Gmail和AOL垃圾邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了默认的 mail()函数来发送电子邮件,它成功地发送了电子邮件给yahoo,但是在Gmail上我的电子邮件由于验证链接而进入垃圾邮件文件夹,如果我删除该链接然后进入收件箱

就像这样

domain.com /abnd.html?code=asdjkahsjkdhkasjghdksghdkjgsakjdg



如果删除代码正常,代码会在gmail上发送垃圾邮件。 b
$ b

请帮助解决方案


解决方案

可能有多种因素:
$ b


  • 也许实际的域名或URL的一部分影响整体垃圾邮件分数
  • 您的电子邮件是否为有效的HTML和/或有适当的标题

  • 发送邮件的IP地址是否有有效的 PTR记录

  • 服务器在电子邮件中是否包含额外的标题,您可能不需要



您可以使用 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屋!

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