Search
 
For more support
Enter your question or search term
  
eg. 'what are my email server settings'
 
 
Call 1800 995 645
 

How do I send email from a website using FormMail.pl?

FormMail.pl is a Perl script that can be used by customers hosted on the Linux cluster. The code can be downloaded here.

Before uploading FormMail.pl to your cgi-bin you need to make a small change to the script. On or near line 39 you will see the following:
@referers = ('scriptarchive.com','209.196.21.3');

Change this line to read:
@referers = ('yourdomain.com','www.yourdomain.com');

Once you have made that change upload the file in ASCII mode and change its permissions to 755 using your FTP client.

The action line of the form should read:
<form method="POST" action="http://www.yourdomain.com/cgi-bin/FormMail.pl">

Aside from standard fields in your form you will need:
<input type=hidden name="recipient" value="sales@yourdomain.com">

There are many different options that can be incorporated into your form. More information is available here.

For further assistance contact Technical Support (support@ilisys.com.au or 1800 995 645).