mail is not going to yahoo ids using php mail function

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mang
Forum Newbie
Posts: 8
Joined: Thu Nov 02, 2006 12:43 am

mail is not going to yahoo ids using php mail function

Post 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 !!
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

As long as the email address exists, it's probably Yahoo's notoriously slow servers. Also, have you checked the spam folder?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
Post Reply