Note that the email field will be what the form uses as the "From"
address when mailing the form results to you.
The form action for the fmail.pl script is: "/cgi-bin/fmail.pl"
Method is: post
There are 4 hidden fields that the fmail.pl script
needs: recipient, subject, required, and redirect The syntax is below:
<input type="hidden"
name="recipient" value="yourname@your-actual-domain.com">
<input type="hidden" name="subject" value="Inquiry Form">
<input type="hidden" name="redirect"
value="http://your-actual-domain.com/thankyou.html">
<input type="hidden"
name="required" value="email">
In designing your form, make sure that the field where you ask for
their email address is named "email" (all
lower case with no dashes). The syntax is:
<input name="email" value size="50">
If you'd like the form to email the results to more than one email
address, the syntax would be:
<input
type="hidden" name="recipient"
value="you@your-actual-domain.com,someone@your-actual-domain.com">
Click here, to
view the form mail script syntax.
If the form is generating an "Internal Server Error", the most likely causes are:
1. The form field requesting the email address is not named "email" (all lower case).
2. The recipient address that you specified is not on your domain.
3. The recipient address that you specified is an email address that does not exist on your domain.
4. The email field is not set as required, and that field is not filled in when the form is being submitted.
|