I am using php, using mail function:
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: [email protected]' . "\r\n";
$headers .= 'Reply-To: Admin <[email protected]>' . "\r\n";
// Return Path -
$return_path = "[email protected]";
$toUser... (all necessary variables)
if(mail($toUser,$subject,$body,$headers, "-f".$return_path)){
echo "res=sent";
} else {
echo "res=error";
}
I tested few emails like, [email protected], [email protected]
(etc, all invalid, non-existent email addresses)
Why it dont go to my [email protected]????