Skip to content

EMAIL ATTACH - DATA SINK

Description

The EMAIL ATTACH data sink will distribute egress data through an email attachment.


Config

Configuration is REQUIRED


Config Parameters

The following are the configuration parameters for the EMAIL ATTACH data sink:

Name Description
to An array of email addresses to send the email to. This is a required parameter.
cc An array of email addresses to CC. This is an optional parameter.
bcc An array of email addresses to BCC. This is an optional parameter.
subject The subject line of the email. This is a required parameter.

Config Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<apiroConf version="1" xmlns="http://apiro.com/apiro/v1/root">
    <loadOrder>25</loadOrder>
    <dataSinks>
        <dataSink name="ESG_DATA_EMAIL_ATTACH" definition="EMAIL_ATTACH">
            <config>
                <![CDATA[
                    {
                        "to":["esg.operations.3030@gmail.com"],
                        "cc":[],
                        "bcc":[],
                        "subject":"ESG SCORES AUTO DISTRIBUTION"
                    }
            ]]>
            </config>
        </dataSink>
    </dataSinks>
</apiroConf>

Common Mistakes

Remember that the configuration for the EMAIL ATTACH data sink is required. If no configuration, or improper configuration is provided then data will not be distributed.