Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace SubmitEmailDetails

Details that are required by the sender to submit a request to send email.

Properties

Optional bodyHtml

bodyHtml: undefined | string

HTML body content in UTF-8. NOTE: Even though bodytext and bodyhtml are both optional, at least one of them must be provided.

Optional bodyText

bodyText: undefined | string

Text body content. NOTE: Even though bodytext and bodyhtml are both optional, at least one of them must be provided.

Optional headerFields

headerFields: undefined | object

The header used by the customer for the email sent. Reserved headers are not allowed e.g "subject", "from", and "to" etc. Example: {@code {"bar-key": "value"}}

Optional messageId

messageId: undefined | string

The unique ID for the email's Message-ID header used for service log correlation. The submission will return an error if the syntax is not a valid RFC 5322 Message-ID. This will be generated if not provided. Example: sdiofu234qwermls24fd@mail.example.com

recipients

recipients: Recipients

Optional replyTo

The email address for the recipient to reply to. If left blank, defaults to the sender address.

sender

sender: Sender

subject

subject: string

A short summary of the content, which will appear in the recipient's inbox. UTF-8 supported RFC 2047.

Functions

getDeserializedJsonObj

getJsonObj