"; $subject = substr(trim($_POST["subject"]), 0, 80); if ($subject == "") $subject = "(No subject)"; $subject = "Fw: $subject"; $message = trim($_POST["message"]); if ($message == "") stderr( _("Error"), "No message text!"); $message = "Message submitted from $_SERVER[REMOTE_ADDR] at " . gmdate("Y-m-d H:i:s") . " GMT.\n" . "Note: By replying to this e-mail you will reveal your e-mail address.\n" . "---------------------------------------------------------------------\n\n" . $message . "\n\n" . "---------------------------------------------------------------------\n$SITENAME E-Mail Gateway\n"; $success = mail($to, $subject, $message, "From: $from", "-f$SITEEMAIL"); if ($success) stderr("Success", "E-mail successfully queued for delivery."); else stderr( _("Error"), "The mail could not be sent. Please try again later."); } stdhead("E-mail gateway"); ?>

/email.gif> Send e-mail to

>
Your name
Your e-mail
Subject
Message

Note: Your IP-address will be logged and visible to the recipient to prevent abuse.
Make sure to supply a valid e-mail address if you expect a reply.