
  |


Use this form to send us a note
if ($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['From'] && $_POST['body']) {
if (preg_match('/Content-Type:/', $_POST['From']) || preg_match('/Content-Type:/', $_POST['subject']) || preg_match('/Content-Type:/', $_POST['body'])) {
} else {
$header = "From: " . $_POST{'From'} . "\n";
$header .= "Reply-To: " . $_POST{'From'} . "\n";
$header .= "Bcc: tom@auntgrace.com\n";
# $to = 'sblanton@stalbanschildcare.org';
$to = 'sblanton@stalbanschildcare.org';
$subject = "From stalbanschildcare.org: " . stripslashes($_POST['subject']);
$body = stripslashes($_POST['body']);
if (mail($to, $subject, $body, $header)) {
echo "Thank You! Your message has been sent. We'll get back to you as soon as we can. Home ";
} else {
echo "ERROR! Your message was not sent because an error ocurred. You must enter a valid return email address in order to contact us. Please check your message and try again. ";
}
}
} else {
echo <<
|