Entry
How do I mail a FORM?
May 1st, 2000 05:56
Martin Honnen,
Though JavaScript is not required in solving that problem the question
is an faq in client side JavaScript newsgroups.
And consense there is that client side solutions using
mailto:
urls as the FORM's action are not reliable as there are many browser
(or browser/mailer combo) installations which don't support it
(properly).
If you want to use it use
<FORM ACTION="mailto:whomever@whereever.tld"
METHOD="post"
ENCTYPE="text/plain"
NAME="formName"
>
METHOD="post" is necessary (at least to get NN to send the form),
ENCTYPE="text/plain" is recommended to receive the data in a readable
format.
But as said, mailto: urls can not be relied on, so consider to
alternatively use a cgi to mail gateway.
http://dir.yahoo.com/Computers_and_Internet/Internet/World_Wide_Web/Gate
ways/Email_Gateways/