Online Help Manual:
 

 


Installing FormMail:

FormMail.pl is a generic www form to email gateway. It will parse the results of any form you create with HTML and send them to the specified user. FormMail.pl is a Perl script and it 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.


To install FormMail.pl on your server, follow these steps:

Create your form using HTML.

Download "FormMail.pl" You can download FormMail.pl here.

Unzip the files to any directory on your computer.

Open FormMail.pl with an editor such as Notepad. Change the value of the "referers" variable. This variable should contain your domain name. For example, if your domain is abc.com the line should read: @referers =('www.abc.com'); Also, make sure that the paths to Perl and Sendmail are correct. They should be exactly as it appears on the following screenshot:




You now need to edit your form so that it can execute the script. You do this by editing the "form action" statement in the form to point to the path where FormMail.pl resides. For example, if you are going to place FormMail.pl in your cgi-bin directory, you need to edit the "form action" statement to read:
"form action="/cgi-bin/FormMail.pl" as shown on the following screenshot:
Also make sure that the method is "post."




You now need to tell FormMail.pl where to send email. You do this by entering a "hidden field" on the form itself. Enter the following line on your form and make sure you enter the email address where you would like to receive email.




Upload FormMail.pl to your server in ASCII mode.

Change the permissions for FormMail. FormMail requires that you make it executable. Many FTP applications allow you to change a file to executable by right-clicking the file on the remote system and clicking CHMOD. FormMail requires a CHMOD setting of 755.

 

  [ Go Back ]