Activity Forums Salesforce® Discussions Is is possible to display an image or icon in a Email using a Visualforce template?

  • Is is possible to display an image or icon in a Email using a Visualforce template?

    Posted by Deepak on October 11, 2019 at 12:52 pm

    Is is possible to display an image or icon in a Email using a Visualforce template?

    Laveena replied 5 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • Laveena

    Member
    October 11, 2019 at 1:08 pm

    Hi Deepak,

    <apex:image> tag or plain old <img>.

    It cannot be an image from static resources though.
    If you want to use image hosted in your salesforce, best would be to upload it to Documents and tick the "externally available image". And then remember to use full path: https://{instance id}.salesforce.com/servlet/servlet.ImageServer?id={document id}&oid={your org ig}
    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos