Hi
I have a site that automaticly sends invoices, validation emails and so on to my costumers with a simply php mail fundtion.
But many are complaining that the emails is taken by their spamfilter. I have tried some hotmails etc. and I can se that it's true. Their go rigth to the spam box everytime.
I have been told that it's my header and MIME type thats wrong, but I just can't get it right.
Rigth now my header looks like this:
$header = "MIME-Version: 1.0" . "\r\n";
$header .= "Content-type: text/html; charset=iso-8859-1" . "\r\n";
$header .= "From: mymail" . "\r\n";
$header .= "Reply-To: mymail" . "\r\n";
$header .= "X-Mailer: PHP/" . phpversion();
Does anyone have a good idea ?