Outgoing Email via Web Hooks

Email Configuration – Outgoing Webhook as of version 10.5

A new “Webhook” protocol is available to select when creating a new outgoing email server:

Webhook widget appears and has the following fields:

  • Payload URL – This is the webhook endpoint. E.g. the endpoint of the Azure Logic App.

  • Secret – Optional parameter which will be passed within the webhook request header. Can be used for extra security at the webhook endpoint.

When emails are sent, they will appear as recent deliveries. You can check whether they were successful or not. You can also redeliver previous deliveries.

Logic App Configuration

  1. Create Logic App with a HTTP Trigger.

  2. Paste the following into the Request Body JSON Schema field of the trigger:

{
    "properties": {
        "Action": {
            "type": "string"
        },
        "Email": {
            "properties": {
                "Attachments": {
                    "items": {
                        "properties": {
                            "FileData": {
                                "type": "string"
                            },
                            "FileName": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "FileName",
                            "FileData"
                        ],
                        "type": "object"
                    },
                    "type": "array"
                },
                "Bcc": {
                    "type": "string"
                },
                "BodyHtml": {
                    "type": "string"
                },
                "BodyPlainText": {},
                "Cc": {
                    "type": "string"
                },
                "From": {
                    "type": "string"
                },
                "FromAddress": {},
                "FromName": {},
                "Priority": {
                    "type": "string"
                },
                "ReceiptRecipient": {},
                "ReplyTo": {
                    "type": "string"
                },
                "Subject": {
                    "type": "string"
                },
                "To": {
                    "type": "string"
                }
            },
            "type": "object"
        }
    },
    "type": "object"
}