Contact us at Melton Net Web Design. A list of just some of Melton Net Clients. Melton Net All in One Packages, Hosting with Domain Names, Design with Hosting, etc. Information  on our Design Service. Back to Home Page

Back to Help Index.

CLIENT SUPPORT
FORMMAIL INSTRUCTIONS

You should find the formmail script in your webspace [ ./formmail/formmail.cgi ] if it is not there then please email support with your username and password and we will set it up for you.

Please use the following instructions to get you started with formmail: To use the script, you will need to create an HTML form with the following lines included as the main part of the form:

<form action="formmail/formmail.cgi" method="POST" name="Name of this form">
This tells the browser which script to run and how to pass the data to it. The name field just tells it which page made it run.

<input type="hidden" name="email" value="fred@roger.co.uk">
This will provide the email response with a 'from' address.

<input type="hidden" name="realname" value="Your name">
This line gives the email in the 'from' line a more meaningful name. Both this and the preious line are unimportant and only really here to allow you to keep track of the responses.

<input type="hidden" name="recipient" value="you@your.co.uk">
Very important - you should set this to your email address so the data can be sent to you.

<input type="hidden"name="redirect"value="http://www.your.co.uk/thanks.htm">
Very important - you should set this to full address of the next page, which should usually be a thank you page.

<input type="hidden" name="subject" value="whatever">
This helps you to identify which page the information was sent from by placing a message in the subject of the email.

Once you have the basic tags outlined above you can then add your form fields, you only need to keep in mind that everything for the form must be in between the opening and closing form brackets.

Back to Help Index.