|
|
[ Email Form - Reference ]
The Email Form lets visitors to your page send you comments by email.
Template files used by this Dynamic Tool
Options available:
Email Form SetupUse the following HTML hyperlink to link to your email form:
You also need to create a file in your "_zisp_" directory. This file should be called "email.txt" and should contain your email address. The Email Form Dynamic Tool uses this file to determine where it should send the contents of completed forms to. You can create this file using a simple text editor like Notepad. Type your email address on the first line of the file, and don't type anything else. Save the file as "email.txt" and upload it to your "_zisp_" directory - your ISP's documentation will explain how to do this. You Email Form Dynamic Tool is limited to only sending 30 email messages per hour, and will only send 5 email messages from the same visitor each hour. This makes it more difficult for an unscrupulous user to "mail-bomb" your account, overloading it with email messages. Customising your Email Form using TemplatesThe Email Form Dynamic Tool uses two template files to generate the pages your visitors see.
Template files should be stored on your website, in a folder called
"easyzisp".
When a visitor clicks on your "/zisp/mailer" link they will see a page generated from the "mailer.html" template:
This template must contain a form with the following parameters:
You can use whatever form elements you like in this form. The example above has three textboxes (named "name", "email" and "subject") and a textarea named "comments"). When a visitor presses the "Submit" button on the form, the Email Form Dynamic Tool will email the contents of the form to you at the address in the "email.txt" file mentioned earlier. The mail message will contain lines looking like:
Each key is the name of a form element; the corresponding value is the value of the form element.
There are several special fields that you can use in the form. The
field named are not case sensitive (i.e. "Subject" is
the same as "subject" and "SUBJECT").
It tells you:
For example, you can insert the following HTML code into your form (i.e., somewhere between the "<form>" and "</form>" tags):
When the visitor to your site completes your form, the Email Form Dynamic Tool generates an acknowledgement page from the "m_ack.html" template file.
Using multiple Email FormsYou might want to have several email forms, to go to different email addresses. You can do this by giving each separate email form its own "ID".
... where "NN" is a number between 0 and 99. For example, the email form with ID "45" will look for an email address in the file named "email45.txt" in your "_zisp_" directory. Remember, you must create this file manually before it can be used. It will try to use the templates named "mailer45.html" and "m_ack45.html" in your "easyzisp" directory, if they exist. Potential problems with Email FormsMail BombingAn unscrupulous user could use your email form to "mail-bomb" your email account. By submitting the form numerous times, or by writing a program to do so, they could cause hundreds of emails to be sent to your mail box.
For this reason, the Email Form Dynamic Tool restricts the number of
emails it sends each hour. It will not send more than 30 emails in one
hour, and it won't send more than 5 emails from the same person in one hour.
Ask them to verify that the Zisp Email Form Dynamic Tool is correctly configured. | |||||||||||||||||||||||||
![]() |
![]() |