| 参数 | Required? | 默認值 | 说明 |
|---|---|---|---|
| To | Y | 發送對象,多個地址以半角分號隔開 | |
| Subject | Y | 電郵主題 | |
| Body | N | 空值 | 電郵內容,支持html代碼 |
| IsBodyHtml | N | True | 郵件是否為html格式 |
| Attachments | N | 空值 | 發送附件,json數組 |
| SenderName | N | 空值 | 發件人名稱 |
| MailServer | N | null | 自定義郵件服務器,如: { "ServerAddress":"smtp.office365.com", "UserName":"epro-smtp@hktb.com", "Password":"xxxxxxxxx", "Port":587, "EnableSsl":true } 如果不加入這個參數,將使用默認的郵件服務器發送電郵 |
| 返回碼 | 说明 |
|---|---|
| 0 | 成功 |
| 1 | 失敗 |
| 参数 | Required? | 默認值 | 说明 |
|---|---|---|---|
| JobId | Y | 需要查詢的發送任務代號,由Send api返回 |
| 返回碼 | 说明 |
|---|---|
| 0 | 成功 |
| 1 | 失敗 |