Forum Moderators: coopster

Message Too Old, No Replies

mail() function some guys getting it some not

SPAM issue?

         

Anyango

7:07 am on Jan 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yo Folks

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

marcs

7:12 am on Jan 3, 2006 (gmt 0)

10+ Year Member



If you have access to server maillogs, check those. They may tell you if mail is being rejected/blocked by any remote mailservers.

jatar_k

6:25 pm on Jan 3, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I use something like this for headers

$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...]

steve

9:46 am on Jan 6, 2006 (gmt 0)

10+ Year Member



Does the email bounce back to you, if so what does it say?