Encoding user-defined text in outgoing HTML email


You can encode user-defined markup text in outgoing email messages by enclosing the text within the following markers:

[#ENCODE_HTML_START#]
  ...
[#ENCODE_HTML_END#]

You can only specify these markers directly in the HTML Body tab, in an HTML content template, or both.

If you include user-defined markup text in outgoing HTML messages, the recipient client does not render the text as HTML. Instead, it displays the text as is. For example, consider that you enter the following markup in the message body:

<html>
<body>Leave application <br> Approved <br>
<Timespan="app.calendar" string=$today$/>
</body>
</html>

When the message is received, the email client attempts to render the text as HTML. The output appears as follows:

Leave application
Approved

You need to indicate that the following text is user-defined markup, which should not be rendered as HTML content:

<Timespan="app.calendar" string=$today$/>

To indicate user-defined markup, construct the message body as follows:

<html>
<body>Leave application <br>
Approved <br>
[#ENCODE_HTML_START#] <Timespan="app.calendar" string=$today$/>
[#ENCODE_HTML_END#]
</body>
</html>

When the message is received, the email client correctly renders the user-defined markup as follows:

Leave application
Approved
<Timespan="app.calendar" string=$today$/>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*