email - PHP mail script does not send mail -
i have mail script on page: mail('myadress@server.com', 'new client added user', 'test message'); not receive anything! (of course added real adress). tried 2 different adresses, looked in spam folder, etc... nothing. script executes fine.
is there log can view or invoke see happened?
thank help!
 <?php $to = "someone@example.com";  $subject = "test mail"; $message = "hello! simple email message.";  $from = "someonelse@example.com";   $headers = "from:" . $from;   mail($to,$subject,$message,$headers);  echo "mail sent.";  ?> try going work u ....
Comments
Post a Comment