Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/60165-problem-with-hotmail/
Share on other sites

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)

Link to comment
https://forums.phpfreaks.com/topic/60165-problem-with-hotmail/#findComment-299440
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.