Last Updated on : 2023-06-15 05:31:31
Send verification codes, notifications, or marketing emails to users.
POST: /v1.0/iot-03/messages/mails/actions/push
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
to_address | String | true | The receiver’s address. | |
template_id | String | true | The approved email template ID. | |
template_param | String | false | The actual value corresponding to the email template variable, in the JSON format. | |
reply_to_address | String | false | The email address to which the reply is sent. |
Parameter name | Type | Description |
---|---|---|
result | MsgPushRes |
Description of result
Parameter name | Type | Description |
---|---|---|
send_status | Boolean | The status of sending. |
POST: /v1.0/iot-03/messages/mails/actions/push
{
"to_address": "test@example.com",
"reply_to_address": "test@example.com",
"template_id": "MAIL_1616396456",
"template_param": "{\"code\":\"1234\"}"
}
{
"result": {
"send_status": true
},
"t": 1586153261345,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback