To use FormMail-clone:
- Download FormMail.pl from your cgi-bin directory and open it in a text editor.
(NotePad is a text editor.).
- Make sure the Perl path is set correctly.
This information can be found on the CPanel home page.
A typical path is: #!/usr/bin/perl
- Make sure the Sendmail path is set correctly.
This information can be found on the CPanel home page.
A typical path is: /usr/lib/sendmail
- Add your domain to the referers.
For example: @referers = ('www.mydomain.com', '123.123.123.123')
- Alter @recipients, if required. A standard setting is: @recipients = @referers
- Upload FormMail.pl to your cgi-bin directory, and change the file permissions to 755.
- Create the form on your web page.
- Upload the web page and test the form.
|