Find your content:

Search form

You are here

Is it possible to have HTML in a visual force email template?


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:

<I>This should be in italic</I>

to the template but it comes out verbatim as:

<I>This should be in italic</I>

Any ideas how I can add HTML to a visual force template?

Attribution to: dublintech

Possible Suggestion/Solution #1

<messaging:emailTemplate subject="Sample Disbursement Receipt" recipientType="User"  relatedToType="Call__c">
 <messaging:htmlEmailBody >
Please find your sample drop receipt attached with this mail.

The sample Template that you can use .

Attribution to: Mohith Shrivastava
This content is remixed from stackoverflow or stackexchange. Please visit

My Block Status

My Block Content