Hi,
I have mail function but when I send it it appears to me as warning message like this
Warning: mail() [function.mail]: SMTP server response: 503 RCPT first (#5.5.1) in D:\Hosting\3181178\html\goldy\Bay\includes\functions.php on line 51
My php coding is like this
$subject = "Notice about reservation cancel";
$body = "<html>\
";
$body .= "<body style=\\"font-family:Verdana, Verdana, Geneva, sans-serif; font-size:12px; color:#666666;\\">\
";
$body .= "Notice about reservation cancel on Bay Airporter Express Inc";
$body .= "Your reservation is cancelled
Reservation Number : ".$res_num."";
$body .= "</body>\
";
$body .= "</html>\
";
$headers = "From: Admin<admin@baei.com>\\r\
";
$headers .= "Reply-To: webmaster@baei.com\\r\
";
$headers .= "Return-Path: webmaster@baei.com\\r\
";
$headers .= "MIME-Version: 1.0\\r\
";
$headers .= "Content-type: text/html; charset=iso-8859-1\\r\
";
mail($email, $subject, $body, $headers);
If any help would be great!
Cheers!!!