This is driving me crazy. I've just finished my new Flash game with a "send a friend" option (that i've used before with no problems), and now I find it will not send the email to a hotmail account (not even going to junk, just not getting it at all). I always do a back up email to my own domains email and that goes through fine, just nothing to hotmail.
I've looked around the internet, and found lots of stuff that makes no sense to me including headers etc, anyway I tried using all different ways including..
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$message3." <".$FromEmail.">");
and..
mail($ToName, $ToSubject, $Message2, "From: ".$message3."", "-f".$message3."");
and finally
$headers = "MIME-Version: 1.0\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: CHWMFL <example@example.com>' . "\r\n";
$email = 'caberfeigh@hotmail.com';
$subject = "CHWMFL Scores Posted";
mail($email, $subject, $Message3,"From: CHWMFL <caberfeigh@hotmail.com>\n X-Mailer: PHP/" . phpversion());
I'm afriad I don't know much about the above code, so there might be errors in it.
Anyone got some nice simple php email code the I can use that works with hotmail?? as I can't release my game until this problem is solved!
thanks for any advice!!
regards
boombanguk