Send multiple embedded images in Outlook email

Hi,

Im trying to embed multiple images in Outlook mail and below is my code snippet. However, the outlook is embedding the first image(QB.png) in the attachment twice and ignoring the SLP.png. I’m have to use the cid and this email is being send to different user. Can anyone pls suggest the solution?

mail body
< html>ScreenshotChecks1<img src=‘cid:‘QB.png’’>
< html>ScreenshotChecks1<img src=‘cid:‘SLP.png’’>

Send Outlook email Message
Attach Files
in, String, “qb.png”
in, String, “slp.png”

Thanks

Try this:

Regards,
Nithin

Thanks Nitin. I already tried that solution before posting. It only works for 1st image mentioned in the attachment. If there are 2 images then only the 1st image is embedded twice.

How about this How to add the images in SMTP mail body

Regards,
Nithin

I developed a package for this purpose. Try it in this link:
https://www.rpabrasil.com.br/post/2020/07/03/sending-outlook-message-with-embedded-images-enviando-email-com-imagens-embarcadas-no-corpo-via-outlook
I hope that it can help you.

1 Like

Hi, could you check the link? It’s down.

Ok, done! Thank you!