How to insert an image in email templates

We need to have a banner and a logo (not same as one used in branding of tenant) in the email.

  • What have you tried?
    Used Base64 code
  • What errors did you face (share screenshots)?
    Image does not appear in the email.
  • Share the details of your efforts (code / search query, workflow json etc.)?
    When Base64 was inserted <img src="data:image/jpeg;base64,BASE64CODE" />in Email template editor, it was replaced by <img src="blob:https://usfoods-sb.identitynow.com/da26e47a-******-*****-*****-ab9810d8aa36"> which made me think the image is stored on sailpoint cloud and URL is added to the img tag. However, when I tried to open the image in browser using this new URL, I got Page not found error. Image does not show in the email too

Hi @iamology,

I encountered a similar issue where I couldn’t view the image in the email. It turned out that my email provider (the organization) doesn’t allow third-party image data to be displayed in emails. Could you try sending the email to a public domain address, like your Gmail, and see if that works? Also, try sending it both with and without base64 encoding.

What we ended up doing for several clients is to host the image in a location internally accessible to the end users and then linking that image in the email.

Hope that helps!

2 Likes

We ended up by hosting the image in the customers global portal which can be accessed globally and referred the image url in the email template.

1 Like