Hi All;
I've been reading this forum for about a month now. I think it is great!!! So I became registered today. I have been programming in PHP for about 2 months. I've noticed several posts about not being able to send email to hotmail accounts via. PHP.
I also was having the same problem. I have stumbled onto a possible answer. I need some input on this though.
I have found out that hotmail doesn't like the standard method of the way PHP sends the header info, i.e.
$mail_headers="From: $fromemail\n";
mail($tomail,$subject,$message,$mail_headers);
I have found that the following works for me:
$mail_headers="From:" . "echo($fromemail);";
mail($tomail,$subject,$message,$mail_headers);
The end result in the received email is:
From: echo(emailname@domain.com);
This is a little unsightly, however it allows the mail to be sent...
Any input from you all on this would be appreciated.
Patioman