I have created a VisualForce template. I need to use its advanced wiring facilities so can't use other template types.
I am trying to have some HTML in this template but not having much luck.
I add:
<HTML>
<BODY>
<I>This should be in italic</I>
</BODY>
</HTML>
to the template but it comes out verbatim as:
<HTML>
<BODY>
<I>This should be in italic</I>
</BODY>
</HTML>
Any ideas how I can add HTML to a visual force template?
<messaging:htmlEmailBody >
or<messaging:plainTextEmailBody>
?