Australia On Line provides FormMail to webhosting customers for easily creating feedback and contact forms.
Information you will need
- The url for the script is
http://www.australiaonline.net.au/cgi-bin/FormMail.pl- use this as your form's action with a method of "POST".
Information we will need
- The url of the site you wish to use the FormMail script from. eg: www.yourdomain.com.au
- A pattern to match the recipients allowed. eg: firstname.lastname@example.org, @yourdomain.com.au
More information on FormMail can be found at http://www.scriptarchive.com/formmail.html. Note that you do not need to install FormMail yourself, just advise us that you wish to use it, by emailing email@example.com with your username and the details mentioned above.
Copy the following html into a the file or the page you want the form to be on or add the FormMail specific parts to your own form. There are more options FormMail provides for customisation like link colour, thank-you page, background image which can be found in the FormMail documentation.
Note the recipient section refers to the address the form results will be sent to and this must be allowed by Australia On Line's install of the script. When access is requested please specify what recipient addresses or recipient domains you wish to be able to use. (Without restricting this FormMail becomes a tool for spammers to send mail to anyone they like.)
<form action="http://www.australiaonline.net.au/cgi-bin/FormMail.pl" method="POST"> <input type=hidden name="required" value="realname,email,details"> <input type=hidden name="recipient" value="firstname.lastname@example.org"> <input type=hidden name="subject" value="Contact form at www.yourdomain.com.au"> <input type=hidden name="return_link_url" value="http://www.yourdomain.com.au"> <input type=hidden name="return_link_title" value="Back to Main Page"> <table> <tr> <td>Your name:</td> <td><input type=text name="realname"></td> </tr> <tr> <td>Your email:</td> <td><input type=text name="email"></td> </tr> <tr> <td colspan="2"> <textarea name="details" rows="10" cols="40"> </textarea> </td> </tr> <tr> <td><input name="Send" type="submit"></td> <td><input name="Clear" type="reset"></td> </tr> </table> </form>