include_once('util/recaptchalib.php'); $publickey = "6Leu8NYSAAAAABvxKqBH8DD9G4qYjSV1OVX-OF0X"; // you got this from the signup page $verificationimage = false; if($_REQUEST['sendmsg']){ $sendmsg = true; } if($_REQUEST['sendmsg']){ //process to see if captcha was entered correctly $privatekey = "6Leu8NYSAAAAAFSCaM3Glp84aj-R_zdWCbC5AS4Z"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"],$_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if ($resp->is_valid) { $verificationimage = true; //means correctly entered catpcha image //now send mail $to = 'sjconnare@connaretech.com'; $subject = 'Website Form Contact Submission'; $message = 'From: ' . $_REQUEST['name'] . "\nEmail:\n". $_REQUEST['email'] ."\n" ."\nMessage:\n".$_REQUEST['message']; $headers = 'From: noreply@buffalocommonwealth.com' . "\r\n" . 'Reply-To: noreply@buffalocommonwealth.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); if(mail($to, $subject, $message, $headers)){ $msgsent = true; } } } ?>
To send an email, please fill in the form below.
Heel Tree Inc.
336 Golfview Road, Suite 403
N. Palm Beach, FL 33408
Phone 561.340.0825
*/ ?>