Mail XML
mails.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mails>
<mails>
<mail id="mail1">
<to>:to</to>
<cc></cc>
<bcc></bcc>
<mdn></mdn>
<importance></importance>
<subject>About :about </subject>
<body>
Mr. :userName
...
</body>
<attachment></attachment>
</mail>
<mail id="mail2">
...
</mail>
</mails>
Mail ID
Every <mail>
tag should have an id
. The id
must be unique within the Mail XML file. It will be called by mail.send.
Param
You can define params in to
, cc
, bcc
, mdn
, importance
, subject
, body
and attachment
just by writing :param
. The mdn
tag means “Disposition-Notification-To”.
You can write multi-data by ;
for to
, cc
, bcc
, mdn
.
attachment
must contain the storage-relative path name of the file to attach. You can write multi-data by |
for attachment
.
importance settings can be High |
Normal |
Low . It is not case sensitive. |
Encode
Pay attention to the mark “<”. You must write it like “<” to conform to XML syntax.