You can use XML to compose formatted e-mail messages.
The following rules apply when you use XML to compose a formatted
e-mail message:
- The XML content of an e-mail message must contain a root element
of the form <MAXIMOEMAILCONTENT></MAXIMOEMAILCONTENT>.
You must place all other XML tags and values within this root element
and are treated as child entities of this root element.
- The syntax for XML is: ATTRIBUTE NAME attribute='Field
Title'> ATTRIBUTE NAME attribute='Field Title'>.
- An incoming e-mail message can contain only the attribute name
tag. It cannot contain the field title attribute.
- The XML content of an incoming e-mail message is validated only
for format. If the XML content is not well formatted, the e-mail entry
in the INBOUNDCOMM table is set to an error status and an error notification
is sent to both the user and the administrator.
- When processing an XML-formatted e-mail message, the e-mail listener
attempts to resolve the attribute name only. If the e-mail listener
cannot resolve the attribute name, the e-mail message is not processed
and an error response e-mail message is sent to the originator of
the e-mail message.
- XML parsers cannot parse the XML content if the standard header
is not included in the XML. You must specify XML encoding at the beginning
of the body of the e-mail message, before the occurrence of the root
element, the MAXIMOEMAILCONTENT tag.
- If XML reserved characters, such as &, occur
as a value for any tag in an XML-formatted message, that value must
be escaped so that the XML-formatted message constitutes a valid XML.
These reserved characters must be escaped using either standard escape
sequences or CDATA constructs.
- The keywords &AUTOKEY& and &SYSDATE& must be escaped
using standard XML CDATA constructs. For example, <TICKETID><![CDATA[&AUTOKEY&]]></TICKETID>