include "../includes/config.php" ?>
include "../includes/header.php" ?>
include "../phpmailer/sendGMAIL.php";
$action = $_REQUEST['action'];
$posted =($_POST);
foreach ($posted as $key => $value) {$$key=$value;}
if ($action == "contact")
{
if ($captcha == 10)
{
// multiInsert("contactForm","name,enqType,phone,email,address,comments,guestNum,dateEntered");
$recipient="events@steventonhousehotel.co.uk";
$userEmail = $_POST['email'];
$userSubject = "Steventon House Wedding Brochure";
$userMsg = "\n
";
$userMsg .= "";
$userMsg .= "| Thank you for your enquiry. Please find a link to the Wedding Brochure attached. |
";
$userMsg .= "| Download: | Wedding Brochure |
";
$userMsg .= "
";
$subject = "Steventon House Wedding Enquiry form";
$displayFrom = "Steventon House";
$emailFrom = "noreply@steventonhousehotel.co.uk";
$msg = "\n";
$msg .= "";
$msg .= "| Website Wedding Enquiry Contact Form |
";
$msg .= "| Name: | ".$_POST['name']." |
";
$msg .= "| Email: | ".$_POST['email']." |
";
$msg .= "| Dates Considering: | ".$_POST['dates']." |
";
$msg .= "| Guests: | ".$_POST['guests']." |
";
$msg .= "| Civile Cerermony: | ".$_POST['civil']." |
";
$msg .= "
";
$mailheaders = "From: Steventon House \n";
$mailheaders .= "Content-Type: text/html; charset=iso-8859-1";
// mail($recipient,"$subject", $msg, $mailheaders);
// mail("matt@dreamshock.com","$subject", $msg, $mailheaders);
sendGMAIL($userEmail,$userSubject,$userMsg);
sendGMAIL($recipient,$subject,$msg);
sendGMAIL("mark@pierdigital.co.uk",$subject,$msg);
exit();
}
}
?>
If you would like to receive a brochure and quotation please fill in the information below:
-
Contact Form Sent Successfully!
Thank you for your comment. We will respond to you shortly.
include "../includes/footer.php" ?>