Email body Section
The <body> section is where you insert the HTML and/or text containers for the main content of the Email message, according to what you have selected in the Preferred_content element. It is used if:
- You do not want to use the defaults of the Email group defined by the Newsletter tag in Common sections and elementsand:
- You do not use the template_from_campaign_id element
The <body> section is:
- A child of the Email message section
- Only used together with the
<preferred_content>element - Positioned after the
<preferred_content>element, within the Message section of the XML instructions file
The <body> section includes the following children:
| Child | Type | Description | Use |
|---|---|---|---|
| html | element | Container for the HTML content of the Email. Requires rich_text or both to be defined in the <preferred_content> element. | Use <html> and/or <text> |
| text | element | Container for the plain text content of the Email. Requires simple_text or both to be defined in the <preferred_content> element. | Use <html> and/or <text> |