function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kate WalshKate Walsh 

Display an image on a Visualforce Email Template

I am working on a VisualForce Email Template.  I want to include our corporate letterhead like we do on our HTML email templates.

I am using the what documentation suggests:
<apex:image id="Logo" value="https://na48.salesforce.com/servlet/servlet.ImageServer?id=0150B000005f9Fm&oid=00DU0000000KJ88MAG" />

and when I run the template instead of the image, I get the following:
<img id="j_id0:emailTemplate:j_id3:j_id4:Logo" src="https://na48.salesforce.com/servlet/servlet.ImageServer?id=0150B000005f9Fm&oid=00DU0000000KJ88MAG" />
Raj VakatiRaj Vakati
  •  upload your company logo in document Object as Externally Available Image and go to the image uploaded and right-click  on image and copy image URL
  • Use html code <img src="<logo URL copied above >" alt="logo" />