I made a basic email signup form and I’m not sure what happen here, but it was working fine for a long time, but all of a sudden I’m getting the follow errors.
Warning: mail() [function.mail]: SMTP server response: 550 Requested action not taken: mailbox unavailable or not local in C:inetpubvhostscitysightseeingtoronto.comhttpdocsnewsletter.php on line 19
Warning: Cannot modify header information – headers already sent by (output started at C:inetpubvhostscitysightseeingtoronto.comhttpdocsnewsletter.php:19) in C:inetpubvhostscitysightseeingtoronto.comhttpdocsnewsletter.php on line 21
$errors = '';
$myemail = 'email@example.com';//<
Put Your email address here.
$email_address = $_POST;
$errors .= "n Error: Invalid email address";
$to = $myemail;
$email_subject = "Newsletter Signup submission";
$email_body = "You have received a new message. ".
" Here are the details:n Email: $email_address";
$headers = "From: $myemailn";
$headers .= "Reply-To: $email_address";
//redirect to the 'thank you' page
< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "//www.w3.org/TR/html4/loose.dtd">