|
Processing
Forms With Mail
Form Mail Processing
Form mail processing can be done with several different cgi
programs. For your convenience we have installed a generic version
of formmail.cgi in the main cgi-bin on all machines. This script
is a universal parser and mail sender that will work on all forms
that are properly constructed. The generic version's return page
simply states "Thank You - your request submission has been
received and will be processed the next business day from (date)".
If you wish a more detailed return page with the name of your
company and links back to your pages, you will need to install
your own version in your own cgi-bin. A copy of the script is
located in the cgi-scripts directory in your www directory.
The only requirements of formmail.cgi are these 3 items
in your form.html:
The proper form method post action =
The recipient tag
The subject tag
And of course you must finish the form with your imput buttons.
Working Example
<METHOD=POST ACTION="http://yourdomain.com/cgi-bin/formmail.cgi">
<type=hidden name="recipient" value="you@yourdomain.com">
<type=hidden name="subject" value="put your
subject here">
For more information on setting up your forms to work off
formmail, go to Matt's
Script Archive, you will find lots of information and a great
FAQ there for formmail and all his other scripts, as well as
the scripts themselves! |