16
Views
4
Comments
[EWS Email] Images in Email body are being recognized as attachment
ews-managed-api
Service icon
Forge component by Abdiel Alvin
Application Type
Reactive
Service Studio Version
11.54.12 (Build 62475)

Hi everyone,

I'm using EWS Email to read mail inbox and getting said mail attachments and it works fine at first.

The problem is when retrieving the list of attachments using the GetEmailFromInbox function, the extension is fetching all the images in the body email as attachment too.

Is there any way to solve this? Any kind of advice would be greatly appreciated! 


Hi @StillLearning , did you check to embed the image in html <img src="cid:image"> , you can set the content-Id, I am not using EWS Email but in general you need to find a way to to do that  

Hi Medhat,

Sorry for the late reply.
I'm not sure if I understand your suggestion correctly. But how do I set the embedded image content id since I am the one receiving the email, and not the one sending it?

My requirements need me to retrieve only the images attached at the email, and ignore those in the body email.

Thanks for the response!

Hi @StillLearning , yes you can just view the attached images 

<img src="cid:emailSign.jpg" alt="Email Sign">

Best

Hi Medhat,

Would it be possible for you to share an example oml? Thanks!

Regards,
StillLearning

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.