'') { $ToEmail = '[email protected]'; $EmailSubject = 'ProtectingProperty.com Contact From Submitted'; $mailheader = "From: ".$_POST["email"]."\r\n"; $mailheader .= "Reply-To: ".$_POST["email"]."\r\n"; $mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n"; $MESSAGE_BODY .= "Name: ".$_POST["name"]."
"; $MESSAGE_BODY .= "Company: ".$_POST["company"]."
"; $MESSAGE_BODY .= "Email: ".$_POST["email"]."
"; $MESSAGE_BODY .= "Phone: ".$_POST["phone1"]."-".$_POST["phone2"]."-".$_POST["phone3"]." Ext".$_POST["phone4"]."
"; $MESSAGE_BODY .= "Regarding: ".$_POST["regarding"]."
"; $MESSAGE_BODY .= "Message: ".nl2br($_POST["message"])."
"; mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader) or die ("Failure"); ?>

Message Sent
Your message was successfully sent.

Contact Form
Name*
Company Name
Email Address*
Phone Number
( ) Ext
Regarding*
Message*
*Required