Message section
The <message> section is the container for all campaign message-specific sections and elements. It includes all the sections and elements of one of the following message types, which must match the selected generic campaign type:
Note:
The <message> section itself does not include a tag for the specific message type, such as <sms>, <email> or <push>, as this is defined by the generic campaign type in the Campaign section.
The <message> section:
- Belongs to the Common sections and elements and is mandatory
- Is positioned within the generic campaign type (for example,
<email>) section, after the<delivery>section (and the<notes>section, if used), in the XML instructions file
Example:
<message>
<subject>name</subject>
<body><![CDATA[ text ]]></body>
<from>003902123456</from>
</message>
The above example is for an SMS message. See the Email message section, Building a campaign with XMLDelivery or Working examples for other message types.