To set up your Front Page generated forms to use the fmail.pl script
you would:1. Open the page in Front Page editor.
2. Right click on the form and select "Form Properties" from the pop
up menu.
3. Select the radio button for "Send to other ISAPI, NSAPI, ASP, or
CGI script".
4. Click on "Options" below that radio button you just selected. in
the options window set the Action to: /cgi-bin/fmail.pl and the Method
to: POST Click OK to close down the Options window.
5. You are now back at the form properties window: Click the
"Advanced" button.
6. In the "Advanced" pop up window, click "Add"
• For the "Name" type in "recipient"
without the quotes.
• For the "Value" type in the email address
you want it to go to. The email address needs to be
something@your-actual-domain.com in order
for the fmail script to transmit it.
• Click the OK button.
7. Still in the "Advanced" window: click "Add"
• For the "Name" type in "redirect" without
the quotes.
• For the "Value" type in the complete url
of a thank you page that you have made.
• Click the OK button.
8. Still in the "Advanced" window: click "Add"
• For the "Name" type in "required" without
the quotes.
• For the "Value" type "email" without the
quotes.
• Click the OK button.
9. Still in the "Advanced" window: click "Add"
• For the "Name" type in "subject" without
the quotes.
• For the "Value" type "Any Subject You
Would Like" without the quotes.
• Click the OK button.
10. You are back at the "form properties" window, Click the OK
button.
11. Right click on the field where you ask for the email address, and
select "Form Field Properties" from the pop up menu. In the "Name" field
type in "email" without the quotes. This is crucial.
12. Save the page / publish it.
That's it.
Click here, to
view the form mail script syntax
Note that the "email" field will be what the form uses as the "From"
address when mailing the form results to you.
If the form page is a secure page, make sure to also have a secure
URL as the "redirect". Otherwise you will get a security error.
|