Having a mail form (or submittable
form) allows your visitors to email you information or comments
directly from your site. There are only a couple of steps that you
must take to put a mail form on your page.
You now have a working submittable form! When a user submits the
form they will get a page that says "Thank you for your submission"
and then list the fields that they entered.
You can 'fine tune' your form by adding additional
SSI command(s) ABOVE the initial SSI command of <!--#include
virtual="/cgi-bin/hwcnmailform" -->.
| |
| The SSI command: |
<!--#set
var="MAILTO" value="emailaddress" --> |
| What it does: |
| By default, the script emails the
results of the form to the account where the form resides. The
above SSI will email the results to the email address in the
value attribute. |
| |
| The SSI command: |
| <!--#set
var="SUBJECT" value="Your Subject Here"
--> |
| What it does: |
| By default, the script enters the
Subject of the email you receive as "Form Data". The
above SSI will use the Subject specified in the value attribute. |
| |
| The SSI command: |
| <!--#set
var="THANKS" value="Your Text Here" --> |
| What it does: |
| By default, the script produces the
message "Thank you for your submission" on the Thank
You page. The above SSI allows you to customize your own in
the value attribute. |
| |
| The SSI command: |
| <!--#set
var="FORMAT" value="NONAMES" --> |
| What it does: |
| The above SSI will eliminate the
Field Names in the email you receive from the form |
| |
| The SSI command: |
| <!--#set
var="FORMAT" value="NOECHO" --> |
| What it does: |
| By default, the script 'echos' the
information, entered in the form, on the Thank You page. The
above SSI will eliminate that. |
| |
| The SSI command: |
| <!--#set
var="FORMAT" value="NOHEADER" --> |
| What it does: |
| When the script 'echos' the
information, entered in the form, on the Thank You
page, it prints a header saying "The Information
Submitted". The above SSI will eliminate this header.
Use this option when you want to compose your Thank You
web page in a language other than English. Just include
the translation for 'information submitted' as the
last part of the 'THANKS' text (as shown above). |
| |
| The SSI command: |
| <!--#set
var="BLOCK" value="LINKS" --> |
| What it does: |
Blocks submission of forms into which a web page link (URL) has been
entered.
(Useful for blocking spam ads from being mailed to you via your
form)
|
| |