rameshfaj Posted July 27, 2007 Share Posted July 27, 2007 I have tried the folowing which works in other mail servers but it doesnot work in Hotmail.Is there something missing. Plz help me!The code is: $to = "someone <some@email>"; $subject = "You've got mail!"; $message = "Hello someone."; $headers = "From: [email protected]\n"; // I suggest you try using only \n $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\n"; $headers .= "Reply-To: me <[email protected]>\n"; $headers .= "X-Priority: 1\n"; $headers .= "X-MSmail-Priority: High\n"; $headers .= "X-mailer: My maile mail ($to, $subject, $message, $headers); It just sends the email to JUNK!!!!!1. Quote Link to comment https://forums.phpfreaks.com/topic/61991-php-mail-not-working-in-hotmail/ Share on other sites More sharing options...
Daniel0 Posted July 27, 2007 Share Posted July 27, 2007 Have you tried some of the solutions here?: http://www.google.com/search?q=hotmail+php+mail Quote Link to comment https://forums.phpfreaks.com/topic/61991-php-mail-not-working-in-hotmail/#findComment-308675 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.