|
FormMail - Web Forms to Email
To implement a simple Form to email web based form, simply follow the code as listed below. There are a number of hidden fields included within the form tags that control the execution of the form. The vital fields are recipient, subject and redirect.
----- Snip of Example HTML Code Here -----
<form action="/cgi-bin/FormMail.pl" method="POST">
Form Information Goes Here
<input
type=hidden name="recipient" value="Email Address Here">
<input type=hidden name="subject" value="Subject of Email
Here">
<input type=hidden name="redirect" value="Web Address for
post-execution">
</form>
----- Snip of Example HTML Code Here -----
FormMail - Hidden Tags Configuration
The action of your form needs to point towards this script, and the method must be POST or GET in capital letters. Below is a list of form fields you can use and how to implement them.
Necessary
Form Fields
There is only one form field that you must have in your form, for
FormMail to work correctly. This is the recipient field.
Any other form fields that appear in your script will be mailed back to you and displayed on the resulting page if you do not have the redirect field set. There is no limit as to how many other form fields you can use with this form, except the limits imposed by browsers and your server.
