Email content

The <content> element is where you define the main <html> and/or <text> content for the Email.

The <content> element is:

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:

    <content>
        <embed><![CDATA[<html><body><h1>This is html</h1></body></html>]]></embed>
    </content>

or:

    <content>
        <embed><![CDATA[This is simple text]]></embed>
    </content>

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:

    <content>
        <uri>http://www.example.com/faq/part1.html</uri>
    </content>

If you are adding plain text content, you should ensure that the imported resource is structured accordingly.

Next page:

Email preferences


Related Pages:

Also see:

Other links: