Skip to main content

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:

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.