I am trying to use PHP\'s mail() function to send a test mail.
$to = \"****@gourab.me\"; $sub = \"Php Mail\"; $msg = \"Test Message From PHP\"; mail($to, $s
It seems your From header is not correctly formatted. Try this instead:
From
$headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'From: Your name ' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; mail($to, $subject, $body, $headers);