Use

Note:

If you choose to use the <template_from_campaign_id> element, the content information is populated from there. You should not include either a <preferred_content> element, or a <body> section in your XML instructions file.

If used, the <preferred_content> element must have one of the following values:

both

Both HTML and plain text.

simple_text

Plain text.

rich_text

HTML.

Note:

If the <preferred_content> element is set to a value that is not consistent with the content of the Email group or the <body> section, XMLDelivery returns an error message. This would be the case, for example, if <preferred_content> is set to both, but the Email group or the <body> section only includes an HTML message.