|
2) ) {
$emailbody = "
A message from visitor to Validated Trust.
Name: $name
E-Mail: $email
Message: $message \n
";
$to = "gabe@wjm.net";
$subject = "Validated Trust Visitor";
$headers = "From: Validated Trust Visitor<$email>" . "\r\n" .
"Reply-To: $email" . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $emailbody, $headers);
mail("svr@wjm.net", $subject, $emailbody, $headers);
echo "Thank you, your message has been sent.";
} else {
echo "Do you have questions about the services offered by Validated Trust? Complete the form below for help with your questions.";
}
?>
You entered the captcha text incorrectly. Try again.'; } elseif($_REQUEST["captcha"]=="valid") { echo 'Your request has been submitted, thank you! '; } ?>
|
|