E-Forms EZ
©1998 by James Carr
http://www.azwebpages.com/e-forms
Message Text File
The Message Text file is a text file used by E-Forms EZ to create
the body of the message. You can put any text you want in here,
including macros. For example you might put, "%user_name%
from %user_city% requests you send him
information about %product% as soon as possible!
His e-mail address is %mail_from%!"
When the message is sent it might read, "Jim Carr from Mesa requests you send him information about E-Forms EZ as soon as possible. His e-mail address is carrprog@azwebpages.com."
If you know the person receiving the e-mail can view HTML code with his mail reader, you may use an HTML document as your Message Text file. If you use this option, the extension for this file must be ".htm". E-Forms EZ checks the file extension to determine whether to send plain text or HTML. If you use any other extension besides ".htm" your message will be sent as plain text.
You can save this file anywhere you want to on the web server. You tell E-Forms EZ where to find it using the message_text field. If the file is located in the same directory as e-forms.exe just use the file name without the drive or directory (message_text="myfile.txt"). If the file is in a directory below the directory where e-forms.exe is stored, use the format message_text="\mydir\mfile.txt". If you know the absolute location of the file, use the format message_text="c:\webfiles\myfile.txt". You cannot use a URL for this file.
You can create this file using any text or HTML editor you prefer. To assist you in creating this file E-Forms EZ comes with an Wizard program.
E-Forms EZ Wizard
E-Forms EZ comes with a program to assist you in creating your
Message Text files. Run the Wizard. Select the option to create a
Template File. Click the Next button. Select the name file which
contains the form for which you want to create a Message Text
file. Click the Next button. The Wizard will read all of the
field names from your form and display them in a list box. Here
you can select the macros you intend to use in the Message Text
file you are creating. Use the buttons to arrange the macros as
you see fit, deleting those you don't want to use in your
message. If you choose to use an Auto-Format, the macros will be
used in the order they appear here. Click the Next button.
Here you can choose to create a blank message or use one of the Auto-Formats Make your choice and click the Next button. You will now be in the Editor. You can insert macros anywhere in your text by double-clicking the macro name in any of the listboxes at the top of the screen.
Don't forget to save your file when you are done!