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 / Capture email address ...
Power Apps
Answered

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

(0) ShareShare
ReportReport
Posted on 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

Categories:
I have the same question (0)
  • JeffreyGonzalez Profile Picture
    61 on at

    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. 

     

  • Markswan20 Profile Picture
    121 on at

    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.

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

    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.

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 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 273

#3
Kalathiya Profile Picture

Kalathiya 232 Super User 2026 Season 1

Last 30 days Overall leaderboard