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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Automated personalised...
Power Automate
Unanswered

Automated personalised email content only showing shapes

(0) ShareShare
ReportReport
Posted on by 80

Hi,

 

I've programmed a Forms to Excel flow with email sending from a shared inbox as part of an internal service I help to run at my work.

 

Everything else seems to run perfectly, but when the automated personalised emails come through, it's just gibberish: Shapes, icons and nothing that makes much sense. (see pics)

 

Anyone have a solution to what's going on here?😀

 

2024-02-08 PA Email content shapes.PNG2024-02-08 PA Feedback Form Flow.PNG2024-02-08 PA Programmed content 1.PNG

Categories:
  • CFernandes Profile Picture
    8,504 Most Valuable Professional on at

    Hey @SamuelBastable 

     

    Are you including Image in you email body? If yes

     

    <img src="data&colon;image/jpeg;base64,<your_column>" alt="My Image" />

     

    also change the Email body to support HTML by clicking  “</>” at top right corner of the action which converts body in html.

     

    CFernandes_1-1707402216526.png

     

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • CU09091727-0 Profile Picture
    80 on at

    The coding for my image insertion value seems different to what you stated:

     

    <img src="data&colon;image/jpeg;base64," alt="IO logo" />

     

    I've used the one above numerous times before on the old designer, so not sure why it won't work this time. 

     

    It's using the exact same source image on the exact same site as the 'file content'.

     

    I tried switching to the HTML version using that button you mentioned, but after amending formatting it again in that mode and then saving............it flips it back to the previous 'body' version.

  • CFernandes Profile Picture
    8,504 Most Valuable Professional on at

    @SamuelBastable Maybe you should try adding base64(<filecontent>)

     

     <img src="data&colon;image/jpeg;base64, base64(<filecontent>)" alt="IO logo" />

     

    Also Power Automate forum changed the encoding from : to &

    CFernandes_0-1707405403180.png

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

     

     

  • CU09091727-0 Profile Picture
    80 on at

    That is what's in place there, just for some reason it doesn't copy that part over.:

     

    "value": "<img src=\"data&colon;image/jpeg;base64,@{body('Get_file_content_using_path')}\" alt=\"IO logo\" />"
     
    That's taken from the 'Code View' tab.
     
    It's definitely that image element that is failing as when I run the tests, it comes out with that part all in red.
  • CFernandes Profile Picture
    8,504 Most Valuable Professional on at

    Add a Compose - Create a formula base64(<>)... - Use the output of Compose in your email

    CFernandes_0-1707406863025.png

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

    @SamuelBastable This is what it should look like...

  • VictorIvanidze Profile Picture
    13,083 on at

    Just try to use the old designer.

  • CU09091727-0 Profile Picture
    80 on at

    SamuelBastable_0-1707407228147.png

    That's what my programming already looks like.............

     

    Where 'File Content' is the specific file (the image that's stored in the group SharePoint site) that I'm trying to insert into the email, below the signature/sign-off.

  • CFernandes Profile Picture
    8,504 Most Valuable Professional on at

    @SamuelBastable Please decorate file content with base64()

    See\use the formula below -

     

    <img src="data:colon;image/jpeg;base64,@{base64(body('Get_file_content_using_path'))}" alt="IO logo" />

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

     

  • CU09091727-0 Profile Picture
    80 on at

    And adding the 'Compose' element above doesn't change anything.........it produces the same outcome.

  • CFernandes Profile Picture
    8,504 Most Valuable Professional on at

    Did you change the Formula? 

     

    <img src="data:colon;image/jpeg;base64,@{base64(body('Get_file_content_using_path'))}" alt="IO logo" />

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard