Page 1 of 1

Mail code

Posted: Fri Sep 03, 2010 6:05 am
by bhanu
How to send mails in inbox not a spam in php code

Re: Mail code

Posted: Fri Sep 03, 2010 1:32 pm
by Jonah Bron
You really can't dictate where the user's email client puts the email. The best you can do is to make sure the From header is the same as the actual email server you use. Beyond that, you'll just need to tell them to check their spam box.

Re: Mail code

Posted: Fri Sep 03, 2010 1:35 pm
by josh
Set up spam assassin and have it add scoring to the email headers. It will tell you what common attributes are being detected (there are 100s of these factors, rDNS not pointing back, you are on the SBL block list, EHLO of the wrong host name, too much HTML to text ratio, use of all caps, use of certain key words, certain key word densities, high link to text ratio, high image to text ratio, etc.. etc.. all these factors compound on you certain ones worse than others)

Most common issue is EHLO http://en.wikipedia.org/wiki/Anti-spam_ ... O_checking

Its a setting in sendmail and other MTAs (mail transfer agents). It defaults to localhost in sendmail which WILL get you flagged as spam.

Re: Mail code

Posted: Wed Sep 15, 2010 6:20 am
by bhanu
Thanks for replies...