<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:
field1 contentfield2 content...
<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
Send a sms to 0039448374932
Send a push notification to the Apple application ‘My Application’ to the recipient ‘APN_Device_ID_Token’
Send a push notification to the Google application ‘My Application’ to the recipient ‘GCM_Device_ID_Token’
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