$message = "HI"; $subject = "Scores Posted"; $to = $userinfo; //Pulls email out of database $headers = "MIME-Version: 1.0\r\n". "Content-type: text/html; charset=iso-8859-1\r\n". "From: \"Scores\" <firstname.lastname@example.org>\r\n". "Content-Transfer-Encoding: 8bit\r\n\r\n"; $headers .= 'X-Mailer: PHP/' . phpversion(); //sends current scores by email to all players in the db mail($to, $subject, $message, $headers);
PHP Mail Function Wont Send to Hotmail. HELP ME PLEASE!
Posted 15 August 2006 - 03:06 PM
Posted 15 August 2006 - 03:21 PM
Posted 15 August 2006 - 03:27 PM
Hotmail seems to notice this relay and junk them. In hotmail live (yes not everyone has live) you have the ability to add hosts to receive email from. I had to add the domain name and then Hotmail was redirecting the mail properly.
Though if you're not relaying the mail, then I am unsure. It could be the wording of the email that makes it look like spam?
I found that Yahoo and GMail were fine with out modifying any of the emails though. Hotmail seems to be either a) picker or b) less intellegent
This post was brought to you by DynamicShark Media
[For Hire] - Small PHP Projects - Script Fixing, Development, WordPress
Read My Blog: www TylerIngram dot Com
Follow Me On Twitter
Posted 15 August 2006 - 03:30 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users