PDA

View Full Version : PHP mail() problem with MSN Hotmail email account



iloveny
March 19th, 2007, 01:26 PM
Hi!

I created a contact form that will mail the form to my email, which hotmail account. I use php mail() function to send mail to my hotmail account.

However, there is a problem when I click submit on the contact form. The email won't send to my hotmail. If I send it to email providers like yahoo or gmail, there is no problem, the email just sent out successfully. Somehow, my hotmail account won't receive anything from php Mail() function.

I did a test like:

success = mail($to, $subject, $msg, $header);

The result says that the mail() has successfully sent the email out. But I never receive it in my hotmail account.

I contact few people from other forums and they have the same problem. Do you guys have the same problem here too?

Many many thanks for your help and time.

evildrummer
March 19th, 2007, 01:48 PM
Have you checked the spam folder, it may detect it was an auto-send email.

iloveny
March 20th, 2007, 12:54 AM
Hi !

I did check the folder and nothing in there.
I actually kind a solved this problem already. If somebody would like the answer, please read:

http://www.phpfreaks.com/forums/index.php/topic,131516.30.html

Thanks !