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 / Sending email from dro...
Power Apps
Unanswered

Sending email from dropdown list

(0) ShareShare
ReportReport
Posted on by 2

I am newish to PowerApps. I want to send an email notification to the respective dept from the drop-down list in the form ie "Payroll" and "Staff Benefits". The drop-down is selected from the Sharepoint data source.

My question:

1. where should I put my function, whether at submit button or at the drop-down list?

2.  what happen if I used onChange?

 

Below is my function onSelect at Submit Button.

 

SubmitForm(Form1);
ResetForm(Form1);
NewForm(Form1); 
Navigate('Finish Screen');

Office365Outlook.SendEmail(
User().Email,
"Staff Inquires",
"Thank You for contacting us. Your request has been assigned to the respective Team. We will respond to you as soon as possible."

 

Thank you in advance.

Categories:
  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    Hi @Nonie23 ,

    As you are using no parameters from the data source, you can really put that wherever you want. OnSuccess of the Form would probably be best as this confirms successful submission.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Nonie23 Profile Picture
    2 on at

    Hi @WarrenBelz ,

     

    Thanks for the reply.

    The drop-down list is connected to sharepoint list called "Unit Team" which consists of Payroll team etc as below.

     

    Nonie23_0-1675690317145.png

     

    Nonie23_1-1675690427206.png

     

    Should the function be at "Submit" button?

  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    Hi @Nonie23 ,

    As posted - OnSuccess of the form would be best assuming you are using SubmitForm()

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard