|
Configuring
a Form for FormMail
HTML Setup | FrontPage Setup
FormMail.pl
Script Configuration
- 1. Download our current
version of the perl script, FormMail.pl
-
a.
Determine which server your site is hosted on from your
original site set-up document. If you can not locate
this, you can contact support
via e-mail.
-
b.
Go to ftp://
ftp.zillionbucks.com/pub and retrieve the proper
FormMail.pl script
from your server's folder.
-
c.
Place the FormMail.pl script in your cgi-local directory.
If you do not have a cgi-local directory, create one
and give it 755 permissions (rwxr-xr-x). Set the FormMail.pl
permissions to 755. For a review of setting permissions
see CGI permissions.
d. Edit the FormMail.pl script by locating the
string of text '@referers = ' and then modifying that
line to reflect your domain name.
e. If applicable, modify the '@recipients = '
line as shown in the directions below that line.
f. Edit the html page that uses FormMail.pl to
point the "Action" tag to the new location:
-
http://yourdomainname/cgi-local/FormMail.pl
for Non-SSL pages and
https://ssl<?>.domainnameservers.net/<username>/cgi-local/FormMail.pl
for SSL pages.
HTML
Configuration
- 1. Form Action Tag
If you have already created your form,
your page has a Form Action tag. Change it to look like this:
<FORM
action="/cgi-bin/FormMail.pl" method="POST">
- 2. Input Type=Hidden
- There are 3 parameters that are required. Put them in your
page code right after the Form Action tag. Subject defines the subject line of the email
you will receive when a user submits the form. Recipient is the email address of the
person getting the form mail. Redirect is the URL the browser goes to after the user
submits the form.
<input type=hidden name="subject"
value="Your Subject">
<input type=hidden name="recipient" value="email@my.com">
<input type=hidden
name="redirect"value="http://my.com/thank.htm">
Return
to the top of this page
FrontPage
Configuration
1. Open the page that contains your form in the Editor.
2. Right click within the form area and choose "Form
Properties". Click the radio button next to "Send to other" and choose
"Custom ISAPI, NSAPI, CGI, or ASP Script".

3. Click the "Options" button. In
the "Action" box, put "/cgi-bin/FormMail.pl". Then click
"OK"

4. Click the "Advanced" button in
the Form Properties dialog box. You will have to Add 3 hidden fields here: recipient,
redirect and subject. Recipient is the email address of the person getting the form mail.
Redirect is the URL the browser goes to after the user submits the form. Subject defines
the subject line of the email you will receive when a user submits the form.

5. Click OK to the Advanced Form Properties
dialog box, then click OK again to the Form Properties dialog box. Save your work and
exit. |