<recipient> element is where you add recipients directly to the XML file, if you have decided to use this option.
<recipient> element is:
A child of the New_recipients section
You can use
<recipient>or a CSV_file to add new recipients.
Positioned within the
<new_recipients>section of the XML instructions file
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>
<recipient> element for each recipient.
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.
<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.
Send a email to firstname.lastname@example.org
<recipient> <email>email@example.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.
- Common sections and elements
- Recipients section
- Delivery section
- Notes section
- Message section
- Building a campaign with XMLDelivery
- Filtering and added recipients
- Contactlab section
- Using XMLDelivery
- Does XMLDelivery match your needs?
- Setting up XMLDelivery
- Working examples