mail delivered as spam - phpmailer, how to avoid

前端 未结 4 1894
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-09 13:55

I know that in first look many users mark this question as duplicate, but after reading more than 10 question I did not get any satisfactory answer, almost all question has

4条回答
  •  囚心锁ツ
    2020-12-09 14:52

    1. Make sure all of the required headers are being set.
    2. Check to see if there are any additional, optional headers that you should be setting.
    3. Sending an HTML/multipart message with mismatched text/HTML sections is frowned upon by some filters.
    4. Absolutely any mail that you send programmatically should have either a link or instructions on how to opt out. This is usually only enforced by human-curated blacklists and the abuse department at your ISP.
    5. Make sure your SMTP server is not blacklisted or has a poor reputation.
    6. Make sure your web server does not have a poor reputation. Some scanners include the reputation of every MTA in the chain.
    7. Review the content of your messages before sending them. If anything in it could even roughly be construed as trying to sell something to someone, change it.
    8. Sacrifice a small animal to the dark gods of email and hope against hope.
    9. Check the headers of the messages marked as spam to see if the spam filtering system left any useful information about why it was blocked.
    10. Ask the receiving server's admins why the message was blocked.
    11. Accept that there is no, and never will be an "exact solution on this issue". Ever.

提交回复
热议问题