|
The script is one
from Matt's Script Archive which we have installed and
preconfigured for your domain. FormMail is a generic www form to
e-mail gateway, which will parse the results of any form and send
them to the specified user. This script has many formatting and
operational options, most of which can be specified through the
form, meaning you don't need any programming knowledge or
multiple scripts for multiple forms. This also makes FormMail the
perfect system-wise solution for allowing users form-based user
feedback capabilities without the risks of allowing freedom of
CGI access.
There is only one form field that you must have in your form, for
FormMail to work correctly. This is the recipient field. Other
hidden configuration fields can also be used to enhance the
operation of FormMail on your site. The action of your form needs
to point towards this script (obviously), and the method must be
POST in capital letters.
Here's an example of the form fields to put in your form:
<FORM
METHOD=POST ACTION="http://yourdomain.com/cgi-yourdomain/formmail.cgi">
<input
type=hidden name="recipient"
value="whoever@yourdomain.com"> <input
type=hidden name="subject" value="Order"> <input
type=hidden name="return_link_url"
value="http://yourdomain.com/"> <input
type=hidden name="return_link_title" value="Back
to Main Page"> |