Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 703 Bytes

api_mail.md

File metadata and controls

34 lines (30 loc) · 703 Bytes

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>
		<subject>About :about </subject>
		<body>
Mr. :userName
...
		</body>
	</mail>
	<mail id="mail2">
	...
	</mail>
</mails>

Mail ID

Every Mail tag should have an Id. The Id must be unique in the Mail XML file. It will be called by mail.send.

Param

You can define params in TO CC BCC MDN SUBJECT BODY just write :param . The mdn tag means "Disposition-Notification-To".

Encode

Pay attention to the mark "<". You must write it like "&lt;" to match the xml diction.