Hello.
Is it possible to embed an attached image to email body html via the <img> tag with src = "cid:<some content id>"?
My current solution is:
1) Get ActivityMimeAttachments with "image/..." mime type related to the email2) Get the ContentId property of these attachments3) Add corresponding <img> tags to email description:
<img src="cid:<contentid value here>" alt = "Some image"/>
After that I save this email and send it via CRM Email router. Recieved emails contain correct attachments and <img> tags with CIDs, but images aren't displayed in all browsers and email clients. Just empty squares with alt text.
I've googled a solution and found the following KB article: https://support.microsoft.com/ru-ru/kb/2934043. Maybe, this is the source of my problem?
Thanks.
*This post is locked for comments
Hello,
@Mihir Kadam have you find any solution to this?
Thank you.
I have the same requirement. @kate_t Do have the solution ?
Hello Nithya,
I'm not sure that this post meets my requirements completely. Unless I'm mistaken, Adi's answer is related to incoming emails (from external senders to CRM) and the image src like "/MicrosoftCRM/Activities/Attachment/...." is an internal CRM url. My task is embedding images in outgoing emails (from CRM to external recievers). These recievers don't have access to a server where CRM is hosted.
Nevertheless I will try this solution.
Hi Kate,
Please refer the link below:
https://social.microsoft.com/Forums/en-US/b35caf40-dd8a-4f13-855d-71d9884f05aa/30-embed-images-in-crm-email?forum=crm
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
HR-09070029-0 2
ED-30091530-0 1