XML : How to embed HTML tags into XML email

I have an email template that is getting the body of the email from as a String. Right now the raw html is showing up in the email.

How do I embed an html tag in the body of an XML email using a String?

  <body>      &lt;strong style='text-decoration:underline;'&gt;Background Check Expiration Reminder&lt;/strong&gt;      &lt;br/&gt;&lt;br/&gt;          ${reminderBody}      &lt;strong&gt;Note: &lt;/strong&gt;Please contact Procurement for Employee extension  </body>    reminderBody = "&lt;strong&gt;Employees with background checks expiring in 10 Days or less:"&lt;/strong&gt;&lt;br/&gt;&lt;ul&gt;&lt;/ul&gt;&lt;strong&gt;Employees with background checks expiring in 30 days:"    

No comments:

Post a Comment