C localhost can send messages by mail? I can't do this, this code displays "messege acepted for delivery". no error does not produce what, but the message does not come.
if (mail("зкшьук@gmail.com", "the subject", "Example message", "From: bondarvadim95@gmail.com \r\n")) { echo "messege acepted for delivery"; } else { echo "some error happen"; }
Sending like this
mail("зкшьук@mail.ru", "the subject", 'авыавы', "From: webmaster@example.com \r\n" ."X-Mailer: PHP/" . phpversion());