\n"; $headers .= "Reply-To: $_POST[u_name] <$_POST[u_email]>\n"; $headers .= "X-Priority: 3\n"; $headers .= "X-MSMail-Priority: Normal\n"; $headers .= "X-Mailer: PHP/" . phpversion(); mail($to, $subject, $message, $headers); $thankyou = "



Thank you for your message!

back to the offer details
"; //get the templates require_once("templates/HeaderTemplate.php"); require_once("templates/EmailThankyouTemplate.php"); require_once("templates/FooterTemplate.php"); exit(); } $AgentName = "$a1[FirstName] $a1[LastName]"; //get the templates require_once("templates/HeaderTemplate.php"); require_once("templates/EmailTemplate.php"); require_once("templates/FooterTemplate.php"); ?>