The instruction contained herein can be used to modify an existing HTML form to work with the cgiemail. You will need to use the following form action within your HTML code:
You can create the template in a basic text editor beginning with the following
two lines:
To: username@yourdomain.com
Subject: Information Request
From: [email]
To: username@yourdomain.com
Subject: Information Request
From: [email]
Name [name]
Address [address]
Phone [telno]
As long as each form field name is contained within brackets ("[ ]")
within the template, the email should be sent successfully and contain all
submitted data. We suggest you use all lowercase field names within your HTML
form and template. Be sure to upload the template in ASCII transfer mode.
If you want a specific web page to load when the email is successfully sent, such as a thank you note, add the follow code to your HTML form:
*** Important ***
If you are implementing a secure form in conjunction with
cgiemail, you will need to reference the script in the form ACTION
as well as the "success" URL
securely.
Helpful Tip
In most instances, you may want to reply directly to the person that completed the form.
First, add a field to the HTML form (eg. "email" to prompt the visitor for his/her complete email address. Next, add the field name to the corresponding template in the following manner:
To: username@yourdomain.com
From: [email]
Subject: Information Request
The cgiemail script will insert the address entered in the field named
email. When the emailed form is received it will be tagged with
this return address.
|
Copyright © 1996 Newsite Internet Services All rights reserved. |
Comments: webmaster@newsite.com |