omeda Posted July 16, 2007 Share Posted July 16, 2007 Hello! Firstly greetings from Poland to all people on this forum! Nice to meet you everyone Secondly my problem i cant solve... I'm sending mails from PHP level with register confirmation request. I was testing it on some popular polish free mails as WP, Onet, O2 and more, and there wasnt any problem - mail was on my inbox after few seconds. Unfortunately no mails were reaching to hotmail.... Anybody of you had any problems with hotmail? Here are my headers: $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-2\r\n"; $headers .= "From: MM <xxx@xxx.com>\r\n"; //$headers .= "X-Mailer: PHP\n"; //$headers .= "X-Sender: <xxx>\n"; I Would be glad for any help... With all regards, Robert Polak Quote Link to comment Share on other sites More sharing options...
rameshfaj Posted July 16, 2007 Share Posted July 16, 2007 I think it should work in all mail servers.Check if something has gone to the Spam/junk mails. Quote Link to comment Share on other sites More sharing options...
jd2007 Posted July 16, 2007 Share Posted July 16, 2007 i have the same problem with hotmail, i checked in junk, there was nothing there too...i never tried with others though... Quote Link to comment Share on other sites More sharing options...
MadTechie Posted July 16, 2007 Share Posted July 16, 2007 try this $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 mailer"; mail ($to, $subject, $message, $headers) Quote Link to comment Share on other sites More sharing options...
omeda Posted July 17, 2007 Author Share Posted July 17, 2007 unfortunately i still got same problem , maybe it's a problem with some keywords in topic? or somewhere else? it's not even sign as junk mail... Maybe you have got other suggestions? I would be very glad for help... Quote Link to comment Share on other sites More sharing options...
MadTechie Posted July 17, 2007 Share Posted July 17, 2007 the above has always worked for me.. ! 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.