Your Name: Email Address: Message:
<—–put your="" email="" address="" here.="" if(empty($_post[‘name’])="" ||="" empty($_post[’email’])="" ||="" empty($_post[‘message’]))="" {="" $errors="" .="“\n" error:="" all="" fields="" are="" required”;="" }="" $name="$_POST[‘name’];" $email_address="$_POST[’email’];" $message="$_POST[‘message’];" if="" (!preg_match(="" “/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$/i”,="" $email_address))="" {="" $errors="" .="“\n" error:="" invalid="" email="" address”;="" }="" if(="" empty($errors))="" {="" $to="[email protected];" $email_subject="“Contact" form="" submission:="" $name”;="" $email_body="“You" have="" received="" a="" new="" message.="" “.="" ”="" here="" are="" the="" details:\n="" name:="" $name="" \n="" “.="" “email:="" $email_address\n="" message="" \n="" $message”;="" $headers="“From:" $myemail\n”;="" $headers="" .="“Reply-To:" $email_address”;="" mail($to,$email_subject,$email_body,$headers);="" redirect="" to="" the="" ‘thank="" you’="" page="" header(‘location:="" contact-form-thank-you.html’);="" }="">