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 / Filter Gallery and sen...
Power Apps
Answered

Filter Gallery and send email

(0) ShareShare
ReportReport
Posted on by 97

Hi everyone, I have a gallery in Power Apps where I do some filters.

I would like to send this gallery filtered by E-mail in HTML.

How to do this? Can you give me some example options?

Thanks!

Categories:
I have the same question (0)
  • Matt1405 Profile Picture
    58 on at

    Are you trying to send and email based on the filtered results from a gallery?

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Silva_BR

    Do you want to email with the filter Gallery records?

    Could you please share a bit more about your scenario?

     

    Actually, you could achieve this using the HTML text control. 

    You can make an Html table with the content of the filtered Gallery and send it as the body of the email

    I have made a test for your reference.

     

    I set the Gallery Items property as below:

    Filter(Actions,!IsBlank(Car))

    Add a HTML text box and set the HtmlText property as below:

    "<strong> Information: </strong>" & "<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" & "<tr style='background-color:#efefef'>
     <th>Title</th> <th> ActionID </th><th> ID </th>
     </tr>" & Concat(
     Gallery27.AllItems,
     "<tr>
     <td>" & Title & " </td>
     
     <td>" & ActionID & " </td>
     <td>" & ID & " </td> 
     
     </tr>"
    ) & "</table>"

    Add an Button and set the OnSelect property as:

    Office365Outlook.SendEmailV2("xxx@microsoft.com","Notify",HtmlText1.HtmlText)

    vqiaqimsft_0-1645601457285.png

     

  • knsrinath Profile Picture
    527 on at

    @v-qiaqi-msft 

     

    Is there any possibility to send same type of Email with power automate

     

    Thanks & Regards 

  • aricheeju Profile Picture
    2 on at

    While I am adding HTML text for sending the gallery through email using below but it is showing error after adding HTML text... Please give me a resolution to fix this problem... 

    Set(_emailRecipientString, Concat(MyPeople, Mail & ";"));
    Office365Outlook.SendEmail(_emailRecipientString, TextEmailSubject1_1.Text, TextEmailMessage1_1.Text.HtmlText2.HtmlText);
    Reset(TextEmailSubject1_1);
    Reset(TextEmailMessage1_1);
    Clear(MyPeople)

    HTML text.PNG

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 899

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 499

Last 30 days Overall leaderboard