Jump to content

mail() not ending up in spam


scrubbicus

Recommended Posts

So I'm wondering if there's anyone that might know a solid script that won't send a mail() to the spam box regardless of the type of host the person uses for an e-mail account. Even if it resorts to absolute simplicity I'd be okay with that rather then a fancy HTML mail with full headers (but if I could use that it would be cool too).

Link to comment
https://forums.phpfreaks.com/topic/174422-mail-not-ending-up-in-spam/
Share on other sites

  • 3 weeks later...

The most common reason is when your mail server does not have all the correct DNS records (missing or wrong SPF, MX, or A records will get an email voted as SPAM). The second most common reason is what cags posted, a From: address that is not hosted at the sending mail server (if you were a receiving mail server and the From: address could not have come from the actual sending mail server, would you put the email into the 'in' box?). The third most common reason is short messages and subject lines that also contain spam like content (links, spamy words...) Another reason is if your mail server has been used in the past to send spam to the receiving mail server and has been blacklisted or appears on any of the spam databases.

 

All of these things don't really have much to do with finding a 'correct' script to use, but how well your mail server is configured, what you put into the mail header fields, and what you put into the subject and message.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.