I am getting this message attached to the emails that my website sends out.
[QUOTE]
The sender of this message, [email][email protected]
I am using this code:
[code=php]// multiple recipients
$to = $friend_email;
// subject
$subject = “Urgent message from $sender_name”;
// To send HTML mail, the Content-type header must be set
$headers = “MIME-Version: 1.0 rn”;
$headers .= “Content-type: text/html; charset=iso-8859-1 rn”;
// Additional headers
$headers .= “From: $sender_name. <$sender_email> rn”;
// Mail it
mail($to, $subject, $messageX, $headers);
The $sender_name. and $sender_email variables are entered by the user.
The mail almost always goes to the junk folder (in MSN)
Is there anyway to improve this ?
How can I send valid Sender ID ?
Many thanks.