Page 1 of 1

mail is not going to yahoo ids using php mail function

Posted: Thu Nov 02, 2006 12:53 am
by mang
Hell everybody,
i have used php mail function mail($to,$subject,$msg); It is not giving any eror but if i give yahoo id like $to="mang@yahoo.com"; and checked the account no mail is there. But if i used $to="mang@gmail.com"; i m recieving the mail can anybody tell me what is the problem?Is it the server problem or what?

Thanking you in advance !!

Posted: Thu Nov 02, 2006 2:19 am
by aaronhall
As long as the email address exists, it's probably Yahoo's notoriously slow servers. Also, have you checked the spam folder?

Posted: Thu Nov 02, 2006 7:05 am
by feyd
Yahoo, among others have very strict email filtering. Likely, your email is being caught as spam. Most often this is due to improper headers, but can be for other reasons too. Look through the multitude of d11wtq's posts for some pointers.