|
|
 |
if ($email <> '')
{
print ' ';
// SUBJECT LINE
$mailsubject = "WNY Figure Drawing - ";
// SEND TO LINE
$sendto = "febaker@olm1.com";
// BCC TO LINE
// $bccto = "febaker@olm1.com";
// VARIOUS HEADERS AS REQUIRED.
$mailheaders = "From: $email\n";
$mailheaders .= "Cc: $email\n";
$mailheaders .= "Bcc: $bccto\n";
$mailheaders .= "Author: $name\n";
// $mailheaders .= "Reply-To: xxxx@yyyy.com\n";
// $mailheaders .= "X-Mailer: PHP3 Mail Function on Apache\n";
// $mailheaders .= "X-Anything: Isn't this cool?";
//SEND THE EMAIL
if (mail($sendto, $mailsubject . $subject, $message, $mailheaders))
{
print("Hello $name
");
print("My name is Hal...
I manage the mail room for the the WNY Figure Drawing pages.
");
print("I'm sending you a copy of your email as I speak. You probably even have it by now.
");
Print("We will act on it promptly and get back with you soon...
Thank you for your feedback.
Hal");
}
else
{
print("Error: The message could not be sent.\n");
}
$email = '';
print "";
}
else
{
?>
|
|
|
|
} ?>
|
|