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 Apps / Send Email Screen with...
Power Apps
Answered

Send Email Screen with Image

(1) ShareShare
ReportReport
Posted on by 5,331 Moderator
I am trying to use the Power Apps default email screen.

I can get the email to send.

I want to send an image with the email.

However, when I add an image (the Add Picture Control shown on the right) and
send, the email presents the long blob storage string rather than the image.

What am I missing?

How do I update the formula so that the image appears in the email?

Also, is it possible to use the Gallery shown with an 'Add Picture' control within
in the send email scenario? 
 
Set(_emailRecipientString, Concat(MyPeople, Mail & ";"));          
Office365Outlook.SendEmail(_emailRecipientString, TextEmailSubject1.Text,
"<img src="& JSON(UploadedImage1.Image, JSONFormat.IncludeBinaryData) &
"></img></br></br>"& RTE_Body.HtmlText, {Importance:"Normal"});  
 
Categories:
I have the same question (0)
  • Suggested answer
    Mark Nanneman Profile Picture
    991 Moderator on at
    Try using Office365Outlook.SendEmailV2
    to send actual HTML in an email.

    Also, you don't need the </img> for an HTML image element.  

    https://www.w3schools.com/tags/tag_img.asp
  • Phineas Profile Picture
    5,331 Moderator on at
    Switched to V2. No more error, but got the same blob string, whether I used the gallery or the stand-alone 'Add Picture' control.


    Tested the following. 
    Set(_emailRecipientString, Concat(MyPeople, Mail & ";"));          
    Office365Outlook.SendEmailV2(_emailRecipientString, TextEmailSubject1.Text, JSON(UploadedImage1_1.Image,JSONFormat.IncludeBinaryData) &  RTE_Body.HtmlText, {Importance:"Normal"});          
    Reset(TextEmailSubject1);          
    Reset(RTE_Body);          
    Clear(MyPeople)
  • Verified answer
    timl Profile Picture
    36,715 Super User 2026 Season 1 on at
    Hi @Phineas
     
    In addition to calling V2 of SendEmail, you'll need to strip the enclosing quotes that are included when you call JSON.
     
    The formula that removes them would look like this:
    Office365Outlook.SendEmailV2(_emailRecipientString, TextEmailSubject1.Text,
    "<img src="""& Substitute(JSON(UploadedImage1.Image, JSONFormat.IncludeBinaryData), """","") &
    """></br></br>"& "test", {Importance:"Normal"});  
     
    To clarify what Mark Nanneman says, you don't need the *closing* image tag ("</img>"), however, the image tag is still required for the image to appear.   
  • Phineas Profile Picture
    5,331 Moderator on at
    Yes, that worked. Thank you.

    Can the Gallery with an Add Picture control (for multiple pictures) be used in the same way. with an updated formula?

    Or can two or three 'freestanding' Add Image Controls be strung together in a formula where more than one image
    needs to be sent?
  • timl Profile Picture
    36,715 Super User 2026 Season 1 on at
    Hi Phineas,
     
    I'm glad that worked. 
     
    Yes, that's possible to send multiple images. Taking the easier example, the formula with 3 'freestanding' add image controls would look like this.  
     
    Office365Outlook.SendEmailV2(_emailRecipientString, TextEmailSubject1.Text,
      "<img src="""& Substitute(JSON(UploadedImage1.Image, JSONFormat.IncludeBinaryData), """","") & """></br></br>" &
      "<img src="""& Substitute(JSON(UploadedImage2.Image, JSONFormat.IncludeBinaryData), """","") & """></br></br>" &
      "<img src="""& Substitute(JSON(UploadedImage3.Image, JSONFormat.IncludeBinaryData), """","") & """></br></br>"
     , {Importance:"Normal"});  
    
     
    With a gallery, you would ForAll through the gallery's AllItems property and build the <img> tags from within.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard