Why would hotmail not get this email when other servers do?
First of all, here's my code:
$msgText="";$msgText="Thanks for your interest in \"Loose Cannon Fitness!\"<br><br>Below is the link to your <b>";$msgText.=$workout;$msgText.="</b> workout.<br><br>Remember, you will need to be at your desktop computer to import your the audio files into your iTunes application.<br><br>If the link doesn't seem to work, copy and paste the link into your internet browser:<br><br>Thanks!<br><br>";$msgText.="<a href=\"http://loosecannonfitness.com/downloads.php?email=";$msgText.=$email;$msgText.="\" target=\"_blank\">http://loosecannonfitness.com/downloads.php?email=";$msgText.=$email;$msgText.="</a>"; $ccText="email@example.com"; $toText = $email; $fromText = "firstname.lastname@example.org"; $subjectText="your free workout download"; //$subjectText .=$fromText; $header = "From: ".$fromText."\r\n"; $header .= "Bcc: ".$ccText."\n"; $header .= "Reply-To : ".$fromText."\r\n"; $header .= "Return-Path : ".$fromText."\r\n"; $header .= "X-Mailer: PHP\r\n"; $header .= "MIME-Version: 1.0\r\n"; $header .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; // ini_set(sendmail_from,$fromText); $postoffice=mail($toText, $subjectText, $msgText, $header, '-f'.$fromText);$voting_friends=0;$logout_url = "";$login_url ="";
I've tested this with several people and it works fine. Recently, however, I had a user not receive it. He's on hotmail.com and I'm wondering if there's something about my script that needs to be improved in order to avoid leaving some of my users hanging.
BTW: I would welcome anyone who wants a free fitness resource to test my site. The aforementioned "snag" aside, the more people I have kicking the tires on this thing, the better. Here's the URL: http://loosecannonfitness.com/hammons.php