Quick Forms Setup Website Templates

Quick Formmail Script Setup


The instructions provided with formmail can be rather complex. Here are the simple steps to setup formmail with your hosting:

Click here if you have AllWebCo cPanel Hosting

For GoDaddy hosting users

To Have AllWebCo setup your contact form

The steps shown on this page are:
1. Edit the contact.htm
2. Install or download the script
3. Edit the script
4. Check the contact.htm
5. Upload the script
6. CHMOD the script
7. Test the contact form


Step 1:
Download Formmail to your computer, or check the Alternate Formmail Script support page. You can also try the download at worldwidemart.com

If the above link is not working: you can also download the advanced script from mattsscripts.co.uk. Allwebco has not tested this script. If you download and test this script please contact us with any info so we can update our support area for other users.

If the above link is not working: The creator of the formmail script (Matt) offers to run the script from their website for a monthly fee. Click here for info on this option. Allwebco does not support and has not tested this option. All support would be provided by http://www.formmail.com.


Step 2:
Edit your contact.htm or quotes.htm and replace "your-web-domain.com" with your domain name in three places. Click for details. (NOTE: You may need to edit the formmail.cgi in the template contact.htm or quote.htm to formmail.pl with the script you downloaded above.)


Step 3:
If you do NOT have Allwebco hosting and do NOT have a cgi-bin in your hosting area, click here and check "Formmail Setup Options".

If you have Allwebco hosting or do have a hosting cgi-bin: Now that you have downloaded formmail, use a plain text editor like Notepad and edit the refers in the formmail.cgi or formmail.pl. Be sure if you have formmail.pl that you edit your contact.htm or quotes.htm and change the "formmail.cgi" to "formmail.pl" on the "post" line (first line of the form). To edit the refers, open the formmail script, and find the following line (about 30 lines down):

@referers = ('scriptarchive.com','209.196.21.3');

Change the above shown in red to your domain and your IP. If you do not know you IP you can edit this like the following:

@referers = ('yourdomain.com','www.yourdomain.com');

It's best to put the www in the refers also even if you know your IP. You can have all three like the following (using your IP number from your hosting company):

@referers = ('yourdomain.com','www.yourdomain.com','209.196.21.3');


Step 4:
Check the "contact.htm" or "quotes.htm". If you have uploaded "formmail.cgi" be sure the HTML page <form> line (shown below) is edited for "formmail.cgi", or If you uploaded "FormMail.pl" edit the HTML page <form> line to call for "FormMail.pl" (uploaded files are case sensitive). Edit for either .cgi or .pl if needed. Click for more details.

<form method="post" action="http://your-web-domain.com/cgi-bin/FormMail.pl" target="_top">


Optional: Adding Extra Security (recommended):
To add more security and prevent auto-hacking of your form script, rename the downloaded "FormMail.pl" to a unique name like "rsender.pl" or something similar. You can name the file any name. Edit the "contact.htm" or "quotes.htm" with the name of your re-named script as shown below.

<form method="post" action="http://your-web-domain.com/cgi-bin/rsender.pl" target="_top">


Step 5 and 6:
Now you must upload the formmail.cgi or FormMail.pl (or rsender.pl) to your hosting area using FTP software. Once the script is uploaded, you must CHMOD 755 the file if you have UNIX type hosting. To CHMOD 755 a script right click on the script in the FTP window, choose "CHMOD" then type 755 in the small box. Click below to see this visually in CuteFTP.

NOTE: CHMOD may also be called "File Attributes", "File Properties" or "Permissions" in different software

visual


NOTE: If you have a Windows hosting setup rather than UNIX, you must contact your hosting company to set the formmail file permissions.


Step 7:
Now open your contact.htm on your website and test the form. If you are getting a "file not found" error when you submit the form, do the steps on this page from the start again, or, click here to see other possible problems with formmail.


Note about the e-mail you can use:
Formmail will not let you e-mail outside of your Domain name. e.g. If your Domain is momswharehouse.com your e-mail address on the contact.htm or quotes.htm can not be an MSN.com email address or an AOL or any other, it must be ????@Momswharehouse.com. This is a security feature in the formmail script so you cannot relay e-mails out of another mail server.



Related Topics:
Contact form setup details
Adding fields to the contact or quote form
E-mail Help and redirection
Setting up the contact form with another script
Setting up the contact form using Formmail PHP

Links:
Download FormMail
Alternate Formmail Script Support Page
Setting Up FormMail
Download CuteFTP


Allwebco Template Support


Allwebco Website Template Support


Form Setup:
Overview
Basic Steps
Quick Steps
PHP Option
ASP Option
Troubleshooting
Adding Fields
Advanced Script
Alternate Scripts
GoDaddy Form
Other Options



Forms Included Templates
Contact and quotes form templates.
AllwebcoDesign.com
Web Site Templates
Free Javascripts
Free scripts for any website or template.
Allwebco-Templates
Web Template Support
Mobile Web Templates
Mobile configured HTML5 templates.
AllwebcoDesign.com
Web Site Templates
Shopping Cart Templates
Professional templates with built-in Paypal.
AllwebcoDesign.com



Website Template Support
Website Template Support