$ProcessForm = Request("ProcessForm");
$name = Request("name");
$title = Request("title");
$company = Request("company");
$address = Request("address");
$city = Request("city");
$state = Request("state");
$zip = Request("zip");
$phone = Request("phone");
$email = Request("email");
$bestTime = Request("bestTime");
$questions = Request("questions");
if($ProcessForm == "1"){
$email_data = "Your Name: $name
";
$email_data.= "Title: $title
";
$email_data.= "Company: $company
";
$email_data.= "Address: $address
";
$email_data.= "City: $city
";
$email_data.= "State: $state
";
$email_data.= "Zip: $zip
";
$email_data.= "Phone: $phone
";
$email_data.= "Email: $email
";
$email_data.= "Best time to call: $bestTime
";
$email_data.= "Areas of Interest/Questions/Comments: $questions
";
SendMail("info@precisepubs.com","admin@precisepub.com", "Contact Us", $email_data);
$ConfirmMsg = "Thank you. Your Email has been sent.";
//
}
?>