(775) 883-2567

sample

”) {
$ToEmail = ‘dcarrano@ezlocal.com’;
$EmailSubject = ‘Site contact form’;
$mailheader = “From: “.$_POST[“websites@ezlocal.com”].”\r\n”;
$mailheader .= “Reply-To: “.$_POST[“websites@ezlocal.com”].”\r\n”;
$mailheader .= “Content-type: text/html; charset=iso-8859-1\r\n”;
$MESSAGE_BODY = “Name: “.$_POST[“name”].””;
$MESSAGE_BODY .= “Email: “.$_POST[“email”].””;
$MESSAGE_BODY .= “Comment: “.nl2br($_POST[“comment”]).””;
mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader) or die (“Failure”);
?>
Your message was sent

Your name:
Email address:
Comment: