EXPMail (0.1)

Download OpenAPI specification:Download

A simple endpoint to send email messages

sending

Sending out an email

Send out an email

Request Body schema: application/json

JSON defining the email message to be sent

subject
string

Subject of the email

html
string

String containing the HTML content of the email. Takes precedence over htmlurl if provided. If both html and text or texturl are provided, will create a multi-part MIME message.

htmlurl
string

String containing the URL to a file containing the HTML content of the email. Ignored (but still validated) if html if provided. If both htmlurl and text or texturl are provided, will create a multi-part MIME message.

text
string

String containing the plain text content of the email. Takes precedence over texturl if provided. If both text and html or htmlurl are provided, will create a multi-part MIME message.

texturl
string

String containing the URL to a file containing the plain text content of the email. Ignored (but still validated) if text is provided. If both texturl and html or htmlurl are provided, will create a multi-part MIME message.

Array of objects (Recipient)

Array of Recipient objects to be used as "To:" addresses for the email

Array of objects (Recipient)

Array of Recipient objects to be used as "CC:" addresses for the email

Array of objects (Recipient)

Array of Recipient objects to be used as "BCC:" addresses for the email

Array of objects (Attachment)

Array of Attachment objects to be attached to the email

key
string

API key to authenticate request with

Responses

Request samples

Content type
application/json
{
  • "subject": "string",
  • "html": "string",
  • "htmlurl": "string",
  • "text": "string",
  • "texturl": "string",
  • "recipients":
    [
    ],
  • "ccs":
    [
    ],
  • "bccs":
    [
    ],
  • "attachments":
    [
    ],
  • "key": "string"
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "error": "string"
}