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: me@mysite.com\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 <me@mysite.com>\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 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 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.