cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Send e-mail with filtered content

Hi guys,

 

I have an app that I input data from a form to a sharepoint list and create a Gallery with it.

 

The app has 2 filters, one of date and one of status. I'd like to create button that sends an e-mail with the content of the filtered data only.

 

Is it possible? I've been trying to use the "Gallery1" within the HTML code of the e-mail but with no success. Is there a better way to do it?

 

Thanks in advance!

 

Best Regards,

Gabriel

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @Anonymous :

Do you want to send emails based on the content in the gallery?

I've made a test for your reference:

 

Office365Outlook.SendEmail(
    "XXX@XXXXXX.com",
    "Subject",
    Concat(
        YourGallery.AllItems,
        "<Div>" & 
        "<p>" & Column1& "</p>" & 
        "<p>" & Column2& "</p>" & 
        "<p>" & Column3& "</p>" & 
        "</Div>" & "<hr>"
    ),
    {IsHtml: true}
)

 

1.JPG2.JPG

Best Regards,

Bof

 

View solution in original post

1 REPLY 1
Community Support
Community Support

Hi @Anonymous :

Do you want to send emails based on the content in the gallery?

I've made a test for your reference:

 

Office365Outlook.SendEmail(
    "XXX@XXXXXX.com",
    "Subject",
    Concat(
        YourGallery.AllItems,
        "<Div>" & 
        "<p>" & Column1& "</p>" & 
        "<p>" & Column2& "</p>" & 
        "<p>" & Column3& "</p>" & 
        "</Div>" & "<hr>"
    ),
    {IsHtml: true}
)

 

1.JPG2.JPG

Best Regards,

Bof

 

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (7,285)