Messages

Get the message HTML body (sanitized)

Changed on

Get safe HTML from an email message. Scripts, images and links are stripped out. This HTML is safer to render than the potentially "dirty" original HTML.

When no HTML body was sent in the original message, a simple HTML body will be created.

Use the querystring param ?download=1 to trigger file download in browser.

get/body/{email}/{messageId}

Request

  • Base URL
    https://mailsac.com/api
  • Auth
    • API key in query parameter _mailsacKey
    • or API key in header Mailsac-Key

Response

OK

Changes

    • info

      api operation id GetBodySanitized was added

    • info

      api tag Messages added

    • info

      api tag Email Messages API removed