2

I am sending an email which contains within an HTML document the following

<img src="data:image/jpg;base64,/*base64-data-string here*/" />

If I save the source of the email and view in a browser, I see the image fine. However in the outlook preview panel it just shows as the invalid or no-image thumbnail and doesnt load the image.

I can see from googling around that embedded images is not supported in Outlook. How else can I achieve what I am trying to do?

NZJames
  • 4,963
  • 15
  • 50
  • 100
  • Possible duplicate of [Send inline image in email](https://stackoverflow.com/questions/18358534/send-inline-image-in-email) – Tewr Feb 21 '18 at 14:49

1 Answers1

2

Many e-mail clients don't accept images in data uris. This is nothing new. If supporting Outlook specifically is what you're after, I'd go with linking to CIDs and including images as new parts of your multipart e-mail.

See also these threads:

kdojeteri
  • 755
  • 6
  • 17