troubleshooting Question

Why would hotmail not get this email when other servers do?

Avatar of Bruce Gust
Bruce GustFlag for United States of America asked on
PHP
12 Comments5 Solutions70 ViewsLast Modified:
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="bruce@brucegust.com";
	$toText = $email;
	$fromText = "info@loosecannonfitness.com";
	$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
SOLUTION
Join our community to see this answer!
Unlock 5 Answers and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 5 Answers and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros