web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Embedding Images in Em...
Power Automate
Unanswered

Embedding Images in Email using CID - Incompatible with Apple Devices

(2) ShareShare
ReportReport
Posted on by Microsoft Employee

I am using Send an Email (V2) to send email with Embedded Images using CID as my IMG source.

  1. Image are retrieved from Sharepoint or OneDrive using "Get File content using path" action
  2. Place the image as an attachment to the email (avoid using <space> in the file name)
  3. File name will then be called out inside the Email's body using <img src="cid:{filename}" width="500" height="500"> syntax. 

1. request.PNG

 

Everything is working well except with Apple Devices (Default MAIL App and Outlook for iOS) where the Embedded images are displayed as Empty Boxes.

2. Apple.png

 

 

 

------------------------------------------------------------------------------------------------------------------------------------

While I'm still working on this automation, the process is currently performed manually by doing the following:

  1. Compose the Email using Outlook Desktop
  2. Insert an image as embedded or inline in the Email's body
  3. Send the email

By doing the manual email steps above, all of our Users INCLUDING APPLE DEVICES can view the embedded image properly. I investigated this and retrieved the HTML codes generated by Outlook Desktop (More Move Actions> Other Actions > View Source) and proved that Outlook is using CID as Image Source but instead of using only the file name it seems like the format is <attachmentFilename>@<attachmentContentId>. I can't replicate this syntax for I don't know where to get the Attachment Content ID.

3. View HTML Codes.png

 

Additional Info:

  • Recipients of the email are using different devices such as Outlook Desktop-Android-Apple, Outlook Web App, Samsung's Built-in Mail App. Source: CID has been tested and works with all of these devices except for Apple.   
  • Using Base64 as image source is not possible since this has more issues in other devices especially with Outlook for Desktop
  • Using Publicly Available links (Azure Blob) are not allowed in my Organization due to the Image's confidentiality, additionally, it doesn't seem like a secure standard way of embedding email in a professional environment.

 

Categories:
I have the same question (0)
  • TonyDew Profile Picture
    49 on at

    Did you ever have any luck with this? I am in the exact same situation. 

  • jacobprat Profile Picture
    2 on at

    No perfect solution to embedding images.

    See this post Embedding Images in HTML Email: Have the Rules Changed? | Mailtrap Blog

     

  • DC-20101201-0 Profile Picture
    2 on at

    I have the same issue. Emails reads and displays fine in outlook desktop. But in any email app on an iPhone it won’t display the inline image with a flow created email. If I forward the original email manually it displays fine. What’s the secret to getting a flow created email to display inline images like the original email which works in all apps and desktop outlook

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard