Skip to main content
Community site session details

Community site session details

Session Id : Rrg3v7QxJopuA9Bu9JtnGd
Power Apps - Building Power Apps
Answered

Capture email address from gallery field and email that user via a button

Like (0) ShareShare
ReportReport
Posted on 10 May 2024 17:10:54 by 121

Good evening,

 

I have an app that logs user records and if said user doesn't update their information after 30 days i want to be able to send that individual an email from powerapps.

 

I have a galley called GalleryCollect, within this gallery i have a button named MailSend, i am trying to capture the data held in a label called Label_EmailHold so that when the button is pressed on that specific line it will immediately send the email to the user.

 

Any help muchly appreciated

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on 13 May 2024 at 03:23:19
    Re: Capture email address from gallery field and email that user via a button

    Hi @Markswan20,

    Just set the OnSelect property of that button as:

    Office365Outlook.SendEmailV2(
     ThisItem.EmailHold,
     txt_Subject,
     txt_Body
    );

    Note that you should copy the formula you set for the Label_EmailHold, here I assume you set its Text property as ThisItem.EmailHold, so I refer to this formula directly.

  • Markswan20 Profile Picture
    121 on 12 May 2024 at 10:01:00
    Re: Capture email address from gallery field and email that user via a button

    Thanks Jeffrey,

     

    Using the Outlook Connector is my go to method but i'm unsure how to capture that information and use it in the connector.

  • JeffreyGonzalez Profile Picture
    59 on 10 May 2024 at 21:34:26
    Re: Capture email address from gallery field and email that user via a button

    In the onSelect property of the gallery, I would set a variable to the text of the label that is holding the email address. You can then use this variable to send an email either through a power automate flow or with the office365 outlook connector. 

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Loading complete