Alert type – email message

Send an email message. Specify sender, replyTo address, subject, recipient list and content.

{
    "version": "latest",
    "apiKey": "abcdefghijklmnopqrstuvwxyz",
    "clientRef": "abcd-efgh",
    "options": {
        "notification": "poll",
        "notificationType": "json"
    },
    "alert": [
        {
            "alertType": "email",
            "tag": "t1",
            "to": "All staff",
            "sender": "ACME Trading",
            "replyTo": "ACME Trading",
            "subject": "This is an email subject",
            "recipientList": "somebody@somewhere.com, someoneelse@somewhere.com",
            "content": "This is an email body\n",
            "contentEncoding": "utf8",
            "emailBodyIsMultipart": false
        }
    ]
}