cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Embed MULTIPLE IMAGES in the Mail body in SAP CPI Mail Adapter

kunal_sinha1
Explorer
0 Kudos
618
Hi All
There is a scenario, in SAP CPI, where multiple images are picked up from SuccessFactors using custom API. Then these images are to be embedded in the mail body sent as Outlook mail. We have achieved embedding single image into the mail body using Content-ID concept.Has anyone worked on embedding MULTIPLE IMAGES in the mail body?

Issue is if I attach two images in the body, it duplicates the last image whereas if I use one attachment source as body and other as header then header attachment is not displayed.

Please let me know if anyone of you have worked on a similar solution.


Thanks for your help
Kunal
View Entire Topic
VijayKonam
Active Contributor
0 Kudos

I did not work on this but just an idea. Is it not easier to read the images in a groovy and make them attachments to the exchange message so that they will passed as attachments in the mail adapter automatically?

0 Kudos

Thanks for your reply.

Did a workaround. Combined the images in one and thats how it worked. Since there was a button image, by using the coordinate functionality of HTML it was possible to create hyperlink for the button within the image.

But issue still persists as mail clients like Gmail and Yahoo dont support Content as well as base64. So the only option is to upload the images in public domain and use the images as URL. This way we can insert multiple images.