Home
Contact Prof. Burns
|
Contact Prof. Burns
if ($_POST[action] != "send")
{
?>
Use this page to send an email message to Prof. Burns, without having to go to your own email program.
Any reply will be made to the email address that you type in the field(s) provided below. Press ENTER,
or use the "Send message" link to send your message to Prof. Burns.
Remember to direct "how to" questions, and other questions about assignments
to the online discussion groups, and not directly to Prof. Burns.
|
[
Send message
|
Reset
|
Cancel
]
}
else
{
$subject = $_POST[subject];
$message = $_POST[message] . "\n\nfrom: " . $_POST[emailfrom];
$to = "cs61b@imail.eecs.berkeley.edu";
$to = "rdb3@rdb3.com";
$mailheaders = "From: CompSci-61B <> \n";
$mailheaders .= "Reply-To: cs61b@imail.eecs.berkeley.edu\n\n";
$mailheaders .= "Reply-To: rdb3@rdb3.com\n\n";
if (mail($to, $subject, $message, $mailheaders))
{
echo("Message successfully sent!");
}
else
{
echo("Message delivery failed...");
}
}
?>
|