"; }else{ if(strlen($name) < 5 OR strlen($name) > 35){ $errmsg .= "· Your Name must be between 5 and 35 characters in length.
"; } } if(empty($message)){ $errmsg .= "· Please enter a message.
"; } if(!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $email)){ $errmsg .= "· Your Email must be in a valid format.
"; } if(!isset($errmsg)){ unset($msg); $msg = "---\n"; $msg .= "Contacted From: $sitename\n"; $msg .= "Contact Name: $name\n"; $msg .= "Contact Email: $email\n"; $msg .= "---\n\n"; $msg .= $message; $msg .= "\n"; unset($head); $head = "From: $email <$email>\n"; $head .= "X-Sender: <$email>\n"; $head .= "Return-Path: <$email>\n"; $head .= "Error-To: <$email>\n"; $head .= "X-Mailer: $_SERVER[SERVER_NAME]\n"; if($testmode){ $msg = str_replace("\n", "
", $msg); ?>
View Email

Message Sent
Thank you for contacting us and we'll get back to you as soon as possible. If you need to contact us please use the form below
  Contact Form