Skip to main content

Hi, 
Hope you have a great day.

How to include image to be show in the email body. Now trying to use the SMTP connector, but actually after some search and testing, the images should be included as attachments and then refered by id inside the html in the email body.

Note: the images we need to show is acually stored in the sql server DB, so it is in the varbinary format.
I have tried to include the image as Base64 in the htmle body, but also not showing. 
so the qestion is how to acheive that in SF.

Loosking forward to hearing from you.

Thanks
Ali

Hi Ali,

Can the following topics help you out?:

and: https://stackoverflow.com/questions/8499633/how-to-display-base64-images-in-html

Adding an image in the following fashion to the HTML body of your email should show the image:

<img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA
AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO
9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />

Hi @Ali.SISAR,

Did Mark his answer help you out?