- mts ⇒
Object
- extend
dms.js.
Object
| Param |
|---|
| options |
- mts ⇒
Object
mts~sendSingleMail(accountName, replyToAddress, addressType, toAddress, subject, htmlBody, textBody, callback)
sendSingleMail - 单个发送邮件
Kind: inner method of mts
| Param | Type | Description |
|---|---|---|
| accountName | String |
管理控制台中配置的发信地址 |
| replyToAddress | Boolean |
是否使用管理控制台中配置的回信地址(状态必须是验证通过) |
| addressType | Number |
取值范围0~1: 0为随机账号(推荐,可以更好的统计退信情况);1为发信地址 |
| toAddress | String |
目标地址,多个Email地址可以逗号分隔 |
| subject | String |
邮件主题 |
| htmlBody | String |
邮件html正文 |
| textBody | String |
邮件text正文 |
| callback | function |
回调函数 |
sendBatchMail - 批量发送邮件
Kind: inner method of mts
| Param | Type | Description |
|---|---|---|
| accountName | String |
管理控制台中配置的发信地址 |
| addressType | Number |
取值范围0~1: 0为随机账号(推荐,可以更好的统计退信情况);1为发信地址 |
| templateName | String |
预先创建且通过审核的模板名称 |
| receiversName | String |
预先创建且上传了收件人的收件人列表名称 |
| tagName | String |
邮件标签名称 |
| callback | function |
回调函数 |
dms.js.
Kind: global variable
Project: node-aliyun-dms
Datetime: 23:05 - 15/10/22
Author: Thonatos.Yang thonatos.yang@gmail.com
Copyright: Thonatos.Yang <https://www.thonatos.com>