I have this code
mail($to, 'Some Subject', 'message');
If $to is gmail.com mail server addres, mail is not sended, but If $to is some other mail server, for example mail.ru, message send successfully.
What may reason?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
GMail blocks little servers because they tend to send most of the spam.
Edit: but I believe I made it work once, one second, I am searching the relevant code!
I did cut out a bit, but should still work.