Postbox
Written by
Updated at March 27, 2025
Sending emails with Yandex Cloud Postbox. The simple
and raw
fields are mutually exclusive.
Field name | Type | Required | Default value | Templating is supported | Description |
---|---|---|---|---|---|
fromAddress |
string |
Yes | No | No | Yandex Cloud Postbox address to send emails from. The service account specified in the workflow settings and the address specified in this field must reside in the same folder. |
destination |
Destination | Yes | No | No | Object describing addresses of recipients. |
simple |
SimpleMessage | No | No | No | Email that will be sent. |
raw |
RawMessage | No | No | No | Email that will be sent. |
Destination
After templating, the field values must have this format: a@example.com, b@example.com
or [a@example.com, b@example.com]
.
Field name | Type | Required | Default value | Templating is supported | Description |
---|---|---|---|---|---|
toAddresses |
string |
Yes | No | Yes | Addresses of email recipients. |
ccAdresses |
string |
No | No | Yes | Addresses of email copy recipients. |
RawMessage
Field name | Type | Required | Default value | Templating is supported | Description |
---|---|---|---|---|---|
data |
string |
Yes | No | Yes | Raw email type. For more information, see the Yandex Cloud Postbox documentation. |
SimpleMessage
Field name | Type | Required | Default value | Templating is supported | Description |
---|---|---|---|---|---|
subject |
MessageData | Yes | No | No | Email subject. |
body |
Body | Yes | No | No | Email text. |
Body
Field name | Type | Required | Default value | Templating is supported | Description |
---|---|---|---|---|---|
text |
MessageData | Yes | No | No | Object in charge of displaying the email in mail clients without HTML support. |
html |
MessageData | Yes | No | No | Object in charge of displaying the email in mail clients with HTML support. |
MessageData
Field name | Type | Required | Default value | Templating is supported | Description |
---|---|---|---|---|---|
data |
string |
Yes | No | Yes | Text. |
charset |
UTF_8 |ISO_8859_1 |Shift_JIS |
Yes | No | No | Encoding: |