Welcome to Deep Sea Charters at Dunmore East"; require_once('header_post_h1.php'); function validate($email){ //------------ EMAIL ADDRESS SYNTAX CHECK ------------------------------------------------ if (!eregi("^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,6})$", $email)) { return false; } //------------ DOMAIN "MX" RECORDS CHECK -------------------------------------------------- list ( $user, $domain ) = split ("@",$email,2); if ( (!checkdnsrr ( $domain, "MX" )) || (!checkdnsrr ( $domain, "ANY" )) || (!getmxrr ($domain, $MXHost))) { return false; } return true; } ?>


Skipper: Brendan Glody

+353 (0)51 383520
+353 (0)87 636 9164
+353 (0)87 260 8917

www.dunmoreboatrips.ie
Submit Form
\n"; $headers .= "Reply-To: $email\n"; $headers .= "MIME-Version: 1.0\n"; if(mail("$to_name<$to>", $subject, $body,$headers)){ $success = true; } } } } if($success){ echo "

You Have Successfully Submitted Your Enquiry

"; echo "

Please allow up to 2 working days for a response

"; echo "
Although we will try to respond much quicker
"; } else{ ?>
Name:
 
eMail:
 
Phone:
 
Your Message: