NetGate Internet Products and Services 1-877-715-4927
Hosting Access Support About Us Contact Us
Sign Me Up!

Support
Support Home
WebInfo
     Hosting
     Access
WebDirect
Phone Support
System Status
 
 
Search Our Site
How to Use FormMail

We have an e-mail based feedback cgi script available on all our servers that allows you to develop and use form based feedback pages without the need to do any programming. The FormMail script is a public domain script written by Matt Wright. NetGate has it installed without modification on all our servers for the convenience of our customers. Below are a few examples of what you can do with the script. We recommend you visit Matt Wright's FormMail readme for more information.

In order to use the script you must enter a form into your HTML as follows:

<form action="/cgi-bin/FormMail.pl" method="POST">

You also need to include a field for the recipient of the E-mail (you).

<input type=hidden name="recipient "value="email@you.com">

There are also some optional fields, if you wish to have a message subject and configure it yourself input:

<input type=hidden name="subject" value="Your Subject">

Or to let the user define the subject, input:

<input type=text name="subject">

To ask the user for their E-mail address input:

<input type=text name="email">

To ask for the users real name input:

<input type=text name="realname">

To redirect the user to a specific URL after they complete the form input:

<input type=hidden name="redirect" value="http://your.host.com/to/file.html">

It is possible to require users to fill out a specific portion of the form before submission. To do this, take the form name such as "realname" or "email" and input it into something like the following:

<input type=hidden name="required" value="realname,email">

There are also other handy features of this script. If you wish to learn more about them check out Matt Wright's detailed readme of the script.