diff --git a/doc/index.html b/doc/index.html index e884096..c993651 100644 --- a/doc/index.html +++ b/doc/index.html @@ -383,6 +383,8 @@ data-styled.g69[id="sc-fzqLLg"]{content:"ghLFqa,"}/*!sc*/ data-styled.g70[id="sc-fzoxnE"]{content:"iMySHJ,"}/*!sc*/ .klHALA{vertical-align:middle;font-size:13px;line-height:20px;color:#808080;word-break:break-word;}/*!sc*/ data-styled.g71[id="sc-fzoMdx"]{content:"klHALA,"}/*!sc*/ +.chnCRo{vertical-align:middle;font-size:13px;line-height:20px;color:#d41f1c;font-size:0.9em;font-weight:normal;margin-left:20px;line-height:1;}/*!sc*/ +data-styled.g73[id="sc-fzplgP"]{content:"chnCRo,"}/*!sc*/ .jkAxhK{font-family:Montserrat,sans-serif;font-weight:400;font-size:1.85714em;line-height:1.6em;color:#32329f;margin-top:0;margin-bottom:0.5em;}/*!sc*/ data-styled.g85[id="sc-fznNTe"]{content:"jkAxhK,"}/*!sc*/ .kGLuBd{border:1px solid #32329f;color:#32329f;font-weight:normal;margin-left:0.5em;padding:4px 8px 4px;display:inline-block;-webkit-text-decoration:none;text-decoration:none;cursor:pointer;}/*!sc*/ @@ -519,22 +521,22 @@ data-styled.g140[id="sc-global-kJtbWf1"]{content:"sc-global-kJtbWf1,"}/*!sc*/ -104.0616 -231.873,-231.248 z " fill="currentColor">

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

+

Send out an email

Request Body schema: application/json

Object 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

+
required
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

Array of objects (Placeholder)

Array of Placeholder objects. Any occurrences of {PLACEHOLDER_NAME} (name in all caps enclosed with curly brackets) in the email's HTML or plain text will be replaced by value.

-
key
string

API key to authenticate request with

+
key
required
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":
    [
    ],
  • "placeholders":
    [
    ],
  • "key": "string"
}

Response samples

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