Hi ,
We are currently migrating our processes from Windows-Legacy to Windows (.NET 5+), as UiPath has announced the deprecation of the legacy framework.
One of our workflows involves sending emails with CID embedded images, which was implemented using Invoke Code and the Microsoft.Office.Interop.Outlook
COM library.
We chose this method because the standard “Send Outlook Mail Message” activity sometimes fails to render CID images properly in certain Outlook Online mailboxes.
To ensure reliability, we used the official Outlook COM API to create attachments with specific CIDs.
However, after migrating to the Windows (.NET 5+) compatibility, we encountered an issue:
“COM reference to Microsoft.Office.Interop.Outlook is not supported in .NET 5+”
Unfortunately, SMTP cannot be used in our organization due to security policies, so that option is not available either.
My Questions:
- Is there any workaround to send CID embedded images in Windows (.NET 5+) projects?
- Will the Send Outlook Mail Message activity support CID-based image embedding in the future (e.g., allowing us to set
cid:image1
and bind an attachment ID directly)?
This issue is critical to our business process, so any advice or roadmap information would be greatly appreciated.
Thank you!