Help, please, with php sending messages to the mail of users. Cannot send, although it returns true. Code like this
$mail = mail("user@mail.ru","Hello","Text"); if($mail = true) echo "message Sended"; This piece is taken from the example in the manual and, in principle, is simple until it is completely stupefied, but does not work, can you tell me why? I will be grateful!
The site is not local, but on hosting.
mail()true - then the letter is delivered (in any case, everything that depended on PHP is completed) - Zowie