A sample page that sends email
This page has a sample form for sending email. Below the form
is the HTML source for the form and
sample email message sent by the form.
(This page doesn't actually send mail to anyone; it just illustrates how
to make a form to do that.)
Forms consist of items that have names. To our email
processing program, four names are special: recipient
must be the name of an item specifying who is to receive the
email. This item is required. Only addresses listed in
a special configuration file can receive mail from forms.
You must have us list your address if your want your form to send
Three other special names are optional. An item called name
can let users specify their real name. An item named email
will let the user say where he or she wants email replies sent, and
one named subject can specify the subject of the email.
All other items names must begin with the string "content".
They will appear in the body of the email with the item named used to label
the value of the item.
The HTML that generated the above form and an example mail
message sent with it:
---End of the HTML that generated the form--
A sample mail message sent with the form.
Subject: Example email form
Supposedly-From: John Doe
This message was sent through the www-email gateway,
and the sender cannot be authenticated.
Unauthenticated sender is firstname.lastname@example.org
This is a message that I typed into the message box to show
what the message will be like when the email recipient gets
Another brief message