SMTP Mailer API
The SMTP Mailer forwards messages from mqtt to the specified email recipients.
To use the SMTP Mailer you must know its service id. By default it will be smtp_mailer .
|
Topics
-
devices/<smtp_mailer_service_id>/send_email
-
devices/<smtp_mailer_service_id>/send_email_to/<recipient_email>
Payload
JSON Object
Field | Value | Notes | ||
---|---|---|---|---|
|
Recipient email address |
Required for
|
||
|
The email subject |
|||
|
The plain text body of the message |
Either this or |
||
|
The html body of the message |
Either this or |
||
|
The email address for the sender |
Optional. If not set, the actual sending email address will be used. |