Contact Us
Use this form to contact us. We will respond to you shortly.
Or, call us at 262-552-8196
//defaults
$msg = ''; //confirmation message
$comment = ''; //from the user
$name = ''; //from the user
$email = ''; //from the user
$phone = ''; //from the user
$sendto = 'hawthornhollow@wi.rr.com';
//email headers
$HEADERS = "MIME-Version: 1.0\r\n";
$HEADERS .= "Content-type: text/html; charset=iso-8859-1\r\n";
$HEADERS .= "X-Mailer: iCEx Networks HTML-Mailer v1.0\r\n";
//both are required
if($_POST['comment']<>'' || $_POST['email']<>''){
extract($_POST);
if($_POST['comment']==''){
$msg .= 'Please enter your comment.
';
}
if($_POST['email']==''){
$msg .= 'Please enter your email.
';
}
//if there are no error messages
if($msg == ''){
$commentBody = nl2br($comment);
$emailBody = "$commentBody
$name
$email
$phone";
//add the users email for the return email
$HEADERS .= "From: $email\r\n";
mail($sendto,'Web Contact Form',$emailBody,$HEADERS);
$msg = 'Thank you. Your message has been sent.';
}
}
?>
''){print "
$msg";}?>