Download Chapter 2 Publicus ini

Transcript
SAXOTECH Online Tags Manual
use the frontpage.pbs template.
The templates for each Community Site reside in this folder:
/light/<customerid>
Chapter 39 Xsendmail
XSendMail is a component that handles forms on web pages. It takes information in the form and translates it into an e-mail, which is sent
to the specified address.
To use XSendMail, the XSendMail.ini file must be present in the folder above your application folder.
XSendMail.pbo
XSendMail Form
XSendMailHTML.pbo
XSendMailHTMLItem.pbo
XSendMailItem.pbo
XSendMail setup
XSendMail.pbo
<%Copyright%>
Copyright message
<%ImpMessage%>
The "Do not reply to this email message" message.
<%Items%>
Returns the values from the XSendMailItem.pbo.
<%Title%>
Only used for XSendMailHTML.pbo. The result of the title field from the Send Mail form.
XSendMail Form
The form for XSendMail has the following structure:
<form method="post" action="/apps/XSendMail.dll">
Fields go here.
Submit button.
</form>
Templates
The form can be put on all pages. The example template is called XSendMail_ovr.pbs.
Fields
You can create any fields you like, as long as they do not have the same names as any of the hidden fields.
Hidden fields
These fields are put in the form as hidden fields.
Body
This is a text field that is put in the e-mail. By default, this field has no value. To use this field, enter a value similar to
the following:
<input type="hidden" name="Body" value="This is a message">
431