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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Need to have multiple ...
Power Automate
Unanswered

Need to have multiple embedded Images in my email body

(1) ShareShare
ReportReport
Posted on by 62
I am trying to get my images from supporting documents and have it embedded in email body , am not sure how to get out from this for loop and send multiple images via email, 
 
since I am having a loop, I cannot set the attachment content properly. any help here ?
 
Categories:
I have the same question (0)
  • Suggested answer
    uchiha1234 Profile Picture
    62 on at
    Sorted
  • Wee Teck Profile Picture
    45 on at

    1. Modify the Loop to Collect Image Data:

    Instead of directly sending an email inside the loop, first collect all the image data (such as their content) into a string or an array. This will allow you to send all the images in a single email.

    2. Base64 Encode the Images:

    To embed images within an email body, you need to convert the images to Base64. Power Automate provides the option to get the file content in Base64 format, which can then be used within HTML <img> tags in the email body.

    3. Ensure Email Format is HTML:

    Make sure that the "Send an email (V2)" action is set to send the email as HTML. In the email body, you can reference the images using the <img> tags with the Base64-encoded content.

    This method will allow you to include multiple images inside one email without having to send multiple emails or attach files directly.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard