You forgot to click the captcha!
Go back to try again.');
}
else {
if($r_captcha_result == 'failedImage' || $r_captcha_result == 'failedAudio' || !isset($_SESSION['verifyCode'])) {
ob_end_clean();
die('
Sorry, the captcha you clicked was invalid. Go back to try again.');
}
}
unset($_SESSION["verifyCode"]);
// multiple recipients
$to = 'sales@forestproinc.com, meghan@forestproinc.com, tory@forestproinc.com' . ', '; // note the comma
// subject
$subject = 'A New Email Received From Make An Offer';
// message
$body = '
A New Email Received From Make An Offer
Here are the contact details:
Name: '.$r_name.'
Email: '.$r_email.'
Phone: '.$r_phone.'
Message: '.$r_comments.'
';
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= 'From: noreply@jtzenterprise.com' . "\r\n";
$headers .= 'Reply-to: ' . $r_email . ''. "\r\n";
if($Bcc > "")$headers .= 'Bcc: ' . $Bcc . "\r\n";
// Mail it
if($debug) {
echo "Debug mode - skipping mail. Here's what it would have sent: ";
echo "TO: $to
SUBJ: $subject
HEADERS: $headers
BODY: $body
";
} else {
mail($to, $subject, $body, $headers);
}
$msg .= 'Thank you for contacting us! We will respond to you shortly.';
}
}
*/?>