scott.russell Posted August 15, 2006 Share Posted August 15, 2006 I have been working on this all morning and no matter how hard I try this script wont send emails to hotmail. Tell me what I should do to get it working.[code]$message = "HI";$subject = "Scores Posted";$to = $userinfo[3]; //Pulls email out of database$headers = "MIME-Version: 1.0\r\n". "Content-type: text/html; charset=iso-8859-1\r\n". "From: \"Scores\" <squall8046@hotmail.com>\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 dbmail($to, $subject, $message, $headers);[/code] Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted August 15, 2006 Share Posted August 15, 2006 Try to check your junk mail folder or whatever it's called in hotmail. Quote Link to comment Share on other sites More sharing options...
akrytus Posted August 15, 2006 Share Posted August 15, 2006 Does it send it the other mail accounts? Quote Link to comment Share on other sites More sharing options...
SharkBait Posted August 15, 2006 Share Posted August 15, 2006 I use mail() here at work for a couple of my scripts and yes hotmail blocked them. Though the webserver I am using for these particular scripts are in house are not out actual mail server so they are being relayed.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 ;) Quote Link to comment Share on other sites More sharing options...
scott.russell Posted August 15, 2006 Author Share Posted August 15, 2006 it sends to ever email address in my database but hotmail Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.