description:Name of the placeholder - will be converted to ALL CAPS by the server if it isn't already
value:
type:string
description:Value to insert into placeholder
Attachment:
type:object
required:
- url
properties:
url:
type:string
format:url
description:URL from where to fetch the file to attach
filename:
type:string
description:'File name to use for email attachment. If not set, defaults to name from Content-Disposition header of URL if it exists, else the base name of the URL.'
description:'String containing the HTML content of the email. Takes precedence over `htmlurl` if provided. If both `html` and `text` or `texturl` are provided, or the `noconversion` config key is not provided, will create a multi-part MIME message.'
description:'String containing the URL to a file containing the HTML content of the email. Ignored if `html` if provided. If both `htmlurl` and `text` or `texturl` are provided, or the `noconversion` config key is not provided, will create a multi-part MIME message.'
description:'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.'
description:'String containing the URL to a file containing the plain text content of the email. Ignored if `text` is provided. If both `texturl` and `html` or `htmlurl` are provided, will create a multi-part MIME message.'
- description:'`Recipient` object to be used as "From:" address for the email'
- $ref:'#/components/schemas/Recipient'
recipients:
type:array
description:'Array of `Recipient` objects to be used as "To:" addresses for the email'
items:
$ref:'#/components/schemas/Recipient'
ccs:
type:array
description:'Array of `Recipient` objects to be used as "CC:" addresses for the email'
items:
$ref:'#/components/schemas/Recipient'
bccs:
type:array
description:'Array of `Recipient` objects to be used as "BCC:" addresses for the email'
items:
$ref:'#/components/schemas/Recipient'
attachments:
type:array
description:Array of `Attachment` objects to be attached to the email
items:
$ref:'#/components/schemas/Attachment'
placeholders:
type:array
description:'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`.'