About IBSInternet ServicesContactSearchSupportSite Map

Support

Create an HTML file (or modify the example file "MAILFORM.HTM") which will be your customized form. Set or modify the INPUT tags required for your site's form. These tags are explained below.

The Tags:

The following tags are specified in the INPUT directives in the HTML document. Place them in your document as close to the FORM directive as possible. This is especially important for the email_field_separator and email_template tags. Note that some tags are dependent on the
released level of MailForm. All of the tags are specified in the NAME item. Items with ":" are also specified entirely within the NAME item (for example , NAME ="email_option:copy_to_sender"). A note on file/URL locations: for tags which specify file names, either a complete path in which the drive, directory, and filename are specified can be used, or a relative (local) path can be used. The relative paths are relative to the directory in which MAILFORM.EXE is located.(http://www.impactbusiness.com/cgi-bin/mailform.exe) Web server virtual directories are not recognized. DOS
".." syntax can also be used (for example, "..\DIR\FILE.TXT"). For tags which specify URLs,
either a complete URL (with "http" etc.) can be used, or a relative (local) path can be used. Relative paths are relative to the directory in which the HTML document is located. Relative paths can include web server virtual directories (which must include a leading forward slash).

At a minimum, you need "email_from", "email_to", and "email_subject", and you will
probably want to specify your server with "email_server".

 

Hidden Tag Description Html example
default_email_from E-mail address of the sender when "email_from" is not filled in. <INPUT TYPE="HIDDEN" NAME="default_email_from" VALUE="defaultname@myserver.com">
email_attachment Specifies the name of the file that is to be BASE64 MIME-encoded and sent along with the generated E-mail as an attachment. The name of the attached file is logged if the "logging:activity" tag is used. For easy security, you can limit the user's selection of files by using this tag within a radio button or list box. Complete security can be provided by NT but this requires more effort by the system administrator. Some file types are identified by the file's extension and the control information seen by the browser is set to take advantage of the browser's automatic processing capability. Files with the
extensions GIF, gif, TIF, and TXT are recognized. "Generic" control information is used for all other files. See also "email_attachment_style".
<INPUT TYPE="RADIO" NAME="email_attachment" VALUE="C:\DIR\FILE1.TXT" CHECKED>FILE1.TXT
<INPUT TYPE="RADIO" NAME="email_attachment" VALUE="C:\DIR\FILE2.TXT">FILE2.TXT
<INPUT TYPE="RADIO" NAME="email_attachment" VALUE="C:\DIR\FILE3.TXT">FILE3.TXT
email_attachment_style:inline Modifies the method of handling the file named in the "email_attachment" tag. This is the default style and this tag can be omitted if this is the desired style. An "inline" attachment is processed directly by the E-mail recipient's browser (for example, the picture associated with a GIF file is displayed directly). <INPUT TYPE="HIDDEN" NAME="email_attachment_style:inline" VALUE="">
email_attachment_style:separate Modifies the method of handling the file named in the "email_attachment" tag. A "separate" attachment is not processed by the browser and is simply presented to the E-mail recipient as "part 2", typically within a frame listing the file's name and type. <INPUT TYPE="HIDDEN" NAME="email_attachment_style:separate" VALUE="">
email_charset:iso8859 Causes the generated E-mail message to use the ISO 8859 (ANSI) character set rather than the 7-bit character set. Used for international language support. <INPUT TYPE="HIDDEN" NAME="email_charset:iso8859" VALUE="">
email_field_separator String inserted in between the field names and values in the generated E-mail. Default is
" : ".
<INPUT TYPE="HIDDEN" NAME="email_field_separator" VALUE=" : ">
email_from E-mail address of the sender. <INPUT TYPE="TEXT" NAME="email_from" VALUE="myname@myserver.com">
email_option:copy_to_sender Indicates that a copy of the generated E-mail is to be delivered to the one filling out the
form.
<INPUT TYPE="HIDDEN" NAME="email_option:copy_to_sender" VALUE="">
email_subject E-mail subject. <INPUT TYPE="HIDDEN" NAME="email_subject" VALUE="Some E-mail">
email_server Domain name or IP address of SMTP server. Default is "localhost". Please use this code EXACTLY <INPUT TYPE="HIDDEN" NAME="email_server" VALUE="www.impactbusiness.com">
email_to E-mail address of the recipient(s). A comma-delimited list will cause all addressees in the
list to receive the E-mail.
<INPUT TYPE="HIDDEN" NAME="email_to" VALUE="yourname@yourserver.com">
failure_message Message to be displayed for unsuccessfully delivered E-mail. <INPUT TYPE="HIDDEN" NAME="failure_message" VALUE="Oops">
failure_message_url URL of file to be displayed for unsuccessfully delivered E-mail. This can be either a full URL (as in the example) or a partial URL if the document to be displayed is on the same
server.
<INPUT TYPE="HIDDEN" NAME="failure_message_url" VALUE="http://www.xyz.com/failure.htm">
require_message Message to be displayed when the user does not supply a value for a "require:" field. <INPUT TYPE="HIDDEN" NAME="require_message" VALUE="A required field was left blank">
require_message_url URL of file to be displayed when the user does not supply a value for a "require:" field. This can be either a full URL (as in the example) or a partial URL if the document to be displayed is on the same server. <INPUT TYPE="HIDDEN" NAME="require_message_url" VALUE="http://www.xyz.com/require.htm">
success_message Message to be displayed for successfully delivered E-mail. <INPUT TYPE="HIDDEN" NAME="success_message" VALUE="E-mail sent">
success_message_template Specifies the location and name of the file containing the template which describes the format of the generated HTML for successfully delivered E-mail. The file should contain
the desired INPUT field names surrounded by percent signs ("%"). All other text in the file will be inserted as-is. Field names are not case-sensitive. See the beginning of this
section for information on how files may be specified. This tag overrides the "success_message_url" tag.
<INPUT TYPE="HIDDEN" NAME="success_message_template" VALUE="D:\inetpub\wwwroot\USERFTP NAME\SUCCESS.TXT">
success_message_url URL of file to be displayed for successfully delivered E-mail. This can be either a full URL (as in the example) or a partial URL if the document to be displayed is on the same
server. This option does not function in the evaluation version. This tag is overridden by the "success_message_template" tag.
<INPUT TYPE="HIDDEN" NAME="success_message_url" VALUE="http://www.xyz.com/success.htm">

Example of Script

MailForm Pro -- Demo #1 -- Simple processing

Complete the following form and click "Submit Mail Message" to receive an E-mail message containing data entered on the form.

What is your name ? (the name of this field is 'Name')
(required)

What is your quest ? (the name of this field is 'Quest')
(required)

What is your favorite color ? (the name of this field is 'Color')
blue
yellow

Why do you like the color you selected ? (the name of this field is 'Comment')


Enter your email address
(required)

Back to the main support page

About IBS | Internet Services | Contact | Search | Support | Site Map | Home