UPOINT:: CGI Scripts: FAQ

Title: @1 HTML Email Template: Script installation
Steps of installing the script.

1) Configure the script html_mail.cgi
2) Create your own template (default filename is "template.htm").
3) Create your own form (default filename is "send.htm". Another sample "index.htm" is included for your reference).
4) Upload the files in the structure as that in the ZIP file (including the folders "MIME" and "temp").
5) Chmod the script html_mail.cgi to 755.
6) Chmod the folder which html_mail.cgi resides to 777 (or leave it as default depending on your server configuration).
7) Chmod the folder "temp" resides to 777 (or leave it as default depending on your server configuration).

FIELDS:
names - Optional (To: Name)
emails - Required (To: Email address)
bulkmailer - Optional (Bulk Mail - should be a checkbox if used)
names_cc - Optional (Cc: Name)
emails_cc - Optional (Cc: Email address)
names_bcc - Optional (Bcc: Name)
emails_bcc - Optional (Bcc: Email address)
attachment_X - Optional (Attachment file upload. X is a number starting with 1. You can have unlimited number of this field.)
subject - Required (Subject of email)
message - Required (Message of email)
customfield_X - Optional (Custom fields. X is a number starting with 1. You can have unlimited number of this field.)

ANCHOR TAGS:
If you are using the customfield_X, place the anchor tags in the format of %%customfield_X%% in the template.htm file.

%%customfield_X%% : X is a number starting with 1. You can have unlimited number of this field. It can be either a single-line text box, area text box, checkbox ..... The script will look for these tags and replace them with the proper contents.

MULTIPLE RECIPIENTS:
1) You may send emails to multiple recipients by separating names and email addresses with semi-colon ( ; ). For example:

To : Mr Demo 1;Mr Demo 2;Mr Demo 3
Name: demo1@upoint.net;demo2@upoint.net;demo3@upoint.net

* Make sure that you have the same number of entries in the name
and the email address fields.

BULK MAIL:
1) You can create a text file (default name "bulk.txt") and let the script performs bulk emailing using the names and email addresses in this file. The file's format is (one entry per row):

Lawrence|demo1@domain.com
Jame Wong|demo2@domain.com
Mary Lee SC|demo3@domain.com
Stephen W. Smith|demo4@domain.com

2) You can still use the Cc and Bcc fields if Bulk Mail is used.

IMAGES IN TEMPLATE:
1) If you include images in the template.htm file, please make sure that those images are called using FULL URLs starting with http://

  Powered by Document Publisher