Hello,
The problem is that ->
For example a customer send to me an email with a picture in description(copy/paste). When i get this email
CRM automatically generates this description image like an attachment.
I want to get all images for the email which are in the body, but i can't , because they are generated as attachments, but attachments does not have a field like "IsBodyGeneratedAttachment" and i dont know if this is a description image.
Why i have to do that?
Because, when opening an email activity, the images inside the description are something like that: <img src="organization/activity/attachments/CRMToken"/> and they are invisible.
So my solution was, to call a WEB API and get the base64 string(attachment body) and replace it after "src", like that : <img scr="base64 string">, but if the attachment is not an image it will replace "img" tag with for example Word File base64 string(if email have a Word File attached).
How i can distinguish the description generated attachments from the normal attachments?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156