cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Community Support
Community Support

Hi @gabrielpinheiro :

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
Highlighted
Community Support
Community Support

Hi @gabrielpinheiro :

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

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