Hi,
I have mail function but when I send it it appears to me as warning message like this
My php coding is like thisWarning: 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
If any help would be great!PHP Code:$subject = "Notice about reservation cancel";
$body = "<html>\n";
$body .= "<body style=\"font-family:Verdana, Verdana, Geneva, sans-serif; font-size:12px; color:#666666;\">\n";
$body .= "Notice about reservation cancel on Bay Airporter Express Inc";
$body .= "Your reservation is cancelled
Reservation Number : ".$res_num."";
$body .= "</body>\n";
$body .= "</html>\n";
$headers = "From: Admin<admin@baei.com>\r\n";
$headers .= "Reply-To: webmaster@baei.com\r\n";
$headers .= "Return-Path: webmaster@baei.com\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
mail($email, $subject, $body, $headers);
Cheers!!!



Reply With Quote

Bookmarks