I have been trying to setup a page that sends a mail from a website using PHP. It seems to work fine until I send it to hotmail. I have looked through the threads here and am still struggling. I know I am likely missing something simple or just not seeing what I am doing wrong.
<?
$subject = "Someone has sent you an email from HIVAfrica.org";
$message = "One of your Friends has sent you an article you are sure to find interesting.<br>";
$message .= "Click on the Link to see it.<br><br><br>";
$message .= "<a href='http://www.link.com'>Link to site</a><br><br>";
$message .= "$body_email";
$headers = "From: Your Friend <$from_email>\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "Reply-To: SITE <site@site.org>\n";
$headers .= "X-Priority: 1\n";
$headers .= "X-MSmail-Priority: High\n";
$headers .= "X-mailer: DAUMED\n";
mail ($to_email, $subject, $message, $headers);
?>
Any suggestions would be greatly appreciated.
Cheers,
Jim