Thank you
Your form has been submitted.
[insert_php]
if (isset($_REQUEST[“email”])) {
$email = $_REQUEST[“email”];
if (! filter_var($email, FILTER_VALIDATE_EMAIL)) {
$page[“content”] = “
There was a problem processing your email address
Please use your browser’s back button and check the email address. Or return to the previous page here: Back“;
return $page;
}
}
$s = “”;
foreach($_POST as $key => $value) {
$s .= “$key: $value\r\n”;
}
// $support = “phil@ability.com”;
$support = “janet@crackingwine.co.uk”;
$subject = “Crackingwine web submission”;
@mail($support, $subject, $s, “From: ” . $email);
[/insert_php]

