<?php if (isset($_POST['name']) && isset($_POST['contact']) && isset($_POST['address'])) { $content = "Full Name: ".$_POST['name']."\rAddress: ".$_POST['address']."\rContact Number: ".$_POST['contact']."\rFound us: ".$_POST['foundus']."\rQuestions: ".$_POST['questions']; mail("aluminiumwindowrevamp@hotmail.com", "Quote Application -".$_POST['name'], $content); echo "Thank you for your application/enquiry,<br>We will contact you, as soon as possible."; }else{ echo "You have not filled out all required items, please press back on your browser and try again, Thank you."; }?>