How do I setup FormMail?

This article applies to 123-reg Linux Shared Hosting packages.

The following answer is a quick guide to setting up the FormMail script.

1

Open up a text editor such as "Notepad".

2

Open the form.htm document below. Copy and paste the code into your text editor: form.htm

3

Within this form change the "email@domain-name.com" to an email address that you have setup with the domain name (inside email forwarding) for that site.

4

Then save the file as 'form.htm'.

5

Open up a text editor such as "Notepad" again.

6

Open the form.cgi document below. Copy and paste the code into your text editor.

formcgi.txt

7

Within this form change:

@referers = ('domain-name.com','www.domain-name.com');

to the domain name.

8

Also change the "email@domain-name.com" to an email address that you have setup with the domain name for that site.

9

Then save the file as 'form.cgi'.

10

Open up a text editor such as "Notepad" again.

11

Open the thanks.htm document below. Copy and paste the code into your text editor.

thanks.htm

12

Then save the file as 'thanks.htm'.

13

Upload the files to your hosting space via FTP and set the Permissions for the 'form.cgi' file to 755 and the form will work.

Answer options

Your feedback was successfully added.

Answer tracking

Track

Watch the content of this article for changes.