Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
34 lines (29 loc) · 730 Bytes

api_mail.md

File metadata and controls

34 lines (29 loc) · 730 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>
		<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 SUBJECT BODY just write :param .

Encode

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