问题
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