PHP mail: All emails are received in the SPAM folder [closed]

邮差的信 提交于 2019-12-01 14:49:34

Try sending a plain text email instead of HTML (if that suits your needs). In my experience the HTML often triggers spam filters but f you really need to use HTML try to look at some of the email templates that mailchimp uses.

https://github.com/mailchimp/Email-Blueprints

There doesn't seem to be anything technically wrong with your code, and there could be many reasons your emails are being rejected by spam filters, but my guess would be that your email content is just an image. This is a strong indicator to spam filters. Try to design your emails using text, and only use images to support your information.

The matter should be the IP of your server. if a provider recieves much mails from the same IP it is considered as spam, no matter what comes.

You should consider testing your emails through spamassassin which will give your email a spam score based on a given set of rules.

Many email providers use these kind of tools.

Edit: http://wiki.apache.org/spamassassin/StartUsing might be a good place to start.

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