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!
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?
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.