E-Forms EZ
©1998 by James Carr
http://www.azwebpages.com/e-forms
Sending Receipts
E-Forms EZ will always send a message to the address listed for
the mail_to field. However, sometimes you also
may want to send a message to the user who filled out the form.
For example, if you use E-Forms EZ to take sales orders, you
could send a message to the user telling him that his order has
been received.
Receipt Text
If you want to send a Receipt, you must supply a value for the receipt_text
field. If no value is found for this
field, no Receipt will be sent. This file is set up the exact
same way as the Message Text file. In
other words you can use all of the same macros as you would for a
standard message. 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 Receipt 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.
When the Receipt Message is sent, the following
fields are used:
receipt_to - If this value is set, the message
is sent to this address. If it is not set, the value of the mail_from
field is used instead.
receipt_from - If this value is set, the message
is sent from this address. If it is not set, the value of the mail_to
field is used instead.
receipt_subject - If this value is set, it will
be used as the subject of the message. If it is not set,
"Receipt: <URL>" is used where <URL> is the
address of the web page containing the form the user filled out.
The flexibility of the field names above allow some users to work around mail servers that have certain requirements for the e-mail addresses. You can also use these settings to send a message to a third party every time the form is submitted. It is up to you how you use these fields.