Hello,
I am getting this error message on Google chrome but not on fire fox.
Warning: mail() [function.mail]: SMTP server response: 503 5.5.2 Need Rcpt command. in \\address.......
$mail = mail($to,$subject,$body,$headers);
if($mail)
{
session_destroy();
header("location: sendemail.php?verify=ok");
}
These are the variables:
$buyeremail = "email@email.com";
$headers = "From: $buyeremail" . "\r\n" . "Replay-To: $buyeremail". "\r\n" . "X-Mailer: PHP/" . phpversion();
$name = $_POST['buyername'];
$to = $_POST['email'];
$subject = $_POST['itemname'];
$body = "Hey there";
Thank you in advance