Sends the current state of a (sub-)table to recipient(s). The attachment size is limited to 10 MB.
Example
I Ain't Afraid of No Code!
[
[
"mailto",
{
"subtable": null,
"skip_empty": false,
"fileformat": "xlsx",
"filename": "validation_file.xlsx",
"sender": "adverity_datatap@mail.datatap.io",
"recipients": [
"alerts@host.com",
"staff@host.com"
],
"message": "Please validate campaigns (see attachment).",
"subject": "Campaign Validation",
"_comment": null
}
]
]
param str subtable: Name a subtable in which output will be stored (will create subtable where necessary).
param str sender: Sender of email. You can choose a descriptive address with MY_NAME@mail.datatap.io.
param list recipients: Recipients of email.
param str subject: Subject of email.
param str message: Message content of email.
param str filename: Filename of attached table (please include file extension).
param str fileformat: (xlsx|csv|html) Fileformat of attached table, html will add the attachment as content to mail message.
param bool skip_empty: Don’t send empty table.
param list format_args: Arguments are passed to the attachment serializer (i.e. delimiter for csv).
param str comment: A comment that will appear in the Transformation UI.
Comments
0 comments
Article is closed for comments.