mail() recipient won't receive the email
Posted: Mon Aug 31, 2009 12:05 am
This script doesn't return any errors but it doesn't send the email.
Can someone tell me what's wrong with this script?
Any help will be very much appreciated. Thanks
Can someone tell me what's wrong with this script?
Code: Select all
<?
$email = "esandrkwn@gmail.com";
$subject = "this is a test....";
$message = "If this even gets sent...";
$from = "amarie_kwn@yahoo.com";
$headers = "From: ".$from;
mail($email,$subject,$message,$headers) or
Die("Error sending mail :(");
?>