Sometimes it is nice to have a simple mail form to allow your customers to write for information or comments. A mailing form is used for this process.In addition some older WWW browsers do not have email capability built into them. The mail form will help prevent any prospective customers from becomeing annoyed and moveing on to another company.
As your server company we have a simple and easily used Forms mailing system that you may use. designed by Jeff RawlingsYou may click on this link to see mailform in action
We shall begin by giveing a simple HTML example of a form and then we shall explain certain aspects of the code.
<form action="/cgi/formmail.pl" method="post">
<INPUT TYPE="text" NAME="recipient" SIZE="20">
Your Email address: <BR>
<INPUT TYPE="text" NAME="email" SIZE="20">
<INPUT TYPE=submit VALUE="Send Email">
<INPUT TYPE=reset VALUE="Clear Form">
Your Message: <BR>
<TEXTAREA name=message text rows=10 cols=30></TEXTAREA>
The right side of the table shows exactly what your
Web customers would see, the code on the left can be pasted directly into
a mail.htm document if you wish useing standard Windows
CTRL-C. This form mail program is invoked with the command.
You must use /cgi/formmail.pl on this server, this cannot be helped all servers are setup differantly
This is a standard form command and is required,in our server we have setup the name field to be called recipient You must use the word recipient here. We also have set a text field size of 20 this can be any size you wish this refers to the amount of charactes in the input box
This is similar to the above,and is again required. You must use the word email here as well. Also for simplicity we have used a text field size of 20 again.
This line creates a nice clickable button on the form with the words Send Email printed onto it, you may use any words you wish of course. This button when clicked will send the Mail message to the party listed in the mailto code, Please be aware nothing will be sent unless mailto and mailfrom have mail address entrys entered
Here is a repeat of the clickable button but this time we have setup a Clear Form button instead, This button will clear all text box's in case the customer wishs to start again.
This creates a text entry area called message with 10 rows and 30 columns, you may use any size text box you wish.
If you simply wish to have a single line text entry field you can use the above command instead.In this example our text name field is called singleline and it will be 30 characters long.
You are not limited to a single Message field you may use as many differant message fields as you wish, they will all be sent to you in the body of the Email message. Be sure to name the fields differantly
We hope this has been informative for you, if you have any further
questions please feel free to Mailform us.
|Barlow & Barlow web services|