mailto
Send a copy of a data extract by email.
This guide explains how to configure the mailto instruction. To learn about another instruction, go back to the Available custom script instructions overview.
Introduction
Use the mailto instruction to send a copy of a data extract in a chosen file format to given email addresses.
Creating a custom script transformation using the mailto instruction
To create and configure a custom script using the mailto instruction, follow these steps:
-
In the Instructions step, select the mailto instruction.
-
To configure the custom script instruction, fill in the following fields. Required fields are marked with an asterisk (*).
-
Recipients*
-
Type in the email addresses to which the file is sent and select them from the drop-down menu. You can only enter email addresses belonging to current Adverity users.
-
Subject
-
Enter the subject for the email.
-
Message
-
Enter a message body for the email.
-
Filename
-
Enter the name of the file to be sent. You must include the file extension in the filename. For example, to send a
.xlsx
file called Data, enterData.xlsx
into the Filename field. -
Fileformat
-
Select the file format of the file to send. You must include the chosen file format in the filename. Select one of the following file formats:
-
csv
-
xlsx
-
html
-
-
Skip Empty
-
Select this field to ensure that empty data extracts are not sent.