Email content
The <content>
element is where you define the main <html>
and/or <text>
content for the Email.
The <content>
element is:
- A child of both the HTML and text sections and should be added to each, as required
- Positioned within the
<html>
and/or<text>
sections, in the Body section of the XML instructions file, as required
Use
To add content to the Email, you can:
- Embed HTML or text
- Enter the URI of a resource to be imported
Embedding content
Use the <embed>
tag within the <content>
element to enter the relevant html or text content. It is best practice to wrap the content with a CDATA section, to avoid XML syntax problems.
Example:
or:
Using a URI
Caution:
You should only use a URI to add material if you are sure of its content and source.
To add content using a URI:
Use the <uri>
tag within the <content>
element to enter a string that represents the URI of the resource to be imported. This may, for example, be a Web page.
Example:
If you are adding plain text content, you should ensure that the imported resource is structured accordingly.
Next page:
Related Pages:
Also see:
- Filtering and added recipients
- Activating link tracking
- Disabling the automatic HTML template prettify function
- Disabling the automatic HTML-entity unescape function
- Enabling ERB evaluation when unescape is disabled
- Contactlab section
- Using XMLDelivery
- Does XMLDelivery match your needs?
- Setting up XMLDelivery
- Working examples
Other links: