|
WinCGIMail
allows you to create sophisticated forms without CGI
scripting.
NOTE: Our mail server will only send mail if the To or From address
is a domain hosting on our servers. You must send the WinCGIMail message
to an email address on your site or setup the From address to be an email
address on your site.
To use
WinCGIMail, create a form with any decent web page creation
software.
The form
action line should be
<form method="POST"
action="http://www.terrasite.com/cgi-bin/WinCGIMail.asp">
Required
Form Fields:
|
Field:
Email
|
|
This form field allows you
to specify to whom you wish for your form results to be
mailed. Most likely, you will want to configure this
option as a hidden form field with a value equal to
that of your e-mail address.
|
|
<input
type=hidden name="email"
value="username@your_domain.com">
|
|
Field:
URL
|
|
Redirect
the user to a UR after the form is submitted. You should
use this hidden variable to send them to a pre-made
HTML page.
|
To choose the URL the user
will end up at:
<input type=hidden name="URL" value="http://your_domain.com/filename.html">
|
Optional
Form Fields:
|
Field:
subject
|
|
The subject field will
allow you to specify the subject that you wish to
appear in the e-mail that is sent to you after this
form has been filled out. If you do not have this
option turned on, then the script will default to a
message subject: Terrasite Form Mailer Result
|
If you wish to choose what
the subject is:
<input type=hidden name="subject"
value="Your Subject">
To allow the user to
choose a subject:
<input type=text
name="subject">
|
|
Field:
from
|
|
This form field will allow
the user to specify their return e-mail address. If you
want to be able to return e-mail to your user, I
strongly suggest that you include this form field and
allow them to fill it in. This will be put into the
From: field of the message you receive.
|
|
<input
type=text name="from">
|
Any other
form fields that appear in your script will be mailed back to
you and displayed on the resulting page if you do not have
the redirect field set.
|