CDATA Blocks
When any component of the email message (body, subject, cc, etc.) contains characters that are illegal in XML text (e.g. characters like < and & that are interpreted by the parser as the start of an XML element or character entity, respectively), the entire component must be expressed in a CDATA block to prevent it from being parsed. For example, any message body written as HTML must be contained within a CDATA section.
Copy
<Body><![CDATA[
<html>
<body style="background:#FFF;margin:0;padding:0;text-align:left;">
<p style="margin:20px 0 0;padding:0;color:#333;font:bold 10pt
Arial;line-height:15pt;">$!{workItem.owner.firstname},</p>
<p style="margin:0 0 20px;padding:0;color:#333;font:normal 10pt
Arial;line-height:15pt;">As part of our periodic compliance efforts, you are
responsible for certifying the access your employees have to enterprise applications.
</p>
<p style="margin:0;padding:0;color:#333;font:normal 10pt Arial;line-height:15pt;">A
specific access certification is named <b>$!{workItemName}</b> has been created for
you, and is due on <strong>$spTools.formatDate(
$certification.expiration,3,3)</strong>. <a
href="http://localhost:8080/iiq/manage/certification/entityList.jsf?certificationId
=$!{certification.id}">Click here to get started on this task.</a></p>
</body>
</html>
]]> </Body>
The marked up text can then be passed to Velocity for variable substitution and can be rendered as an HTML email message.