Forum Moderators: coopster
whenever a new user registers with us we send them an email from the same site containing their username and password, some guys are getting the email and some arent. do u know what could be the reason? email getting trapped by spam filters? its definitely not at all any spam.
what headers shall we use to protect our email from going into spam folders.
Also for information, the text in the email does not contain even one single such word which can be considered as spam word.
it just says
---------------------------------------------
Hello Firstname Lastname
your login information is as follows
url:
username:
password:
regards
this n that company
---------------------------------------
and email subject is "Login Information"
i think its about using correct headers?
thanks
$headers .= 'To: ' . $theiremail . "\r\n";
$headers .= "From: " . $yourname . " <" . $youremail . ">\r\n";
$headers .= 'Subject: ' . $subject . "\r\n";
$headers .= "Return-Path: " . $youremail . "\r\n";
$headers .= "Reply-To: " . $youremail . "\r\n";
$headers .= "Content-type: text;\r\n";
$headers .= "Mime-Version: 1.0\r\n";
I also use this to check for spam flags
[spamassassin.apache.org...]