Recipient

The <recipient> element is where you add recipients directly to the XML file, if you have decided to use this option.

The <recipient> element is:

Use

Use the following format to add recipients directly to the XML:

    <new_recipients>
        <recipient>
            <field1>field1 content</field1>
            <field2>field2 content</field2>
        </recipient>
        <recipient>
            ...
        </recipient>
    </new_recipients>

Add one <recipient> element for each recipient.

Note:

While only one field is required to identify an email or SMS recipient, three fields are needed to define the recipient of a Push campaign. See the Example below and Push delivery working example for more details.

The <field> tags in the above example represent the actual field names, which must be selected from and match those used in the database. However, field name matching is not case sensitive, for example, you can use Name or name.

Examples:

Send a email to somebody@somedomain.com

    <recipient>
        <email>somebody@somedomain.com</email>
        <firstname>field2A</firstname>
            ...
    </recipient>

Send a sms to 0039448374932

    <recipient>
        <phone>0039448374932</phone>
    </recipient>

Send a push notification to the Apple application ‘My Application’ to the recipient ‘APN_Device_ID_Token’

    <recipient>
        <PUSH>APN_Device_ID_Token</PUSH>
        <PUSH_ENDPOINT>APN</PUSH_ENDPOINT>
        <CLAB_15_NAME>My Application<CLAB_15_NAME>
    </recipient>

Send a push notification to the Google application ‘My Application’ to the recipient ‘GCM_Device_ID_Token’

    <recipient>
        <PUSH>GCM_Device_ID_Token</PUSH>
        <PUSH_ENDPOINT>GCM</PUSH_ENDPOINT>
        <CLAB_15_NAME>My Application<CLAB_15_NAME>
    </recipient>

See Filtering and added recipients for more about how the user database is filtered to match new recipients.

Next page:

CSV_file


Also see: