send email from button click in Power Apps


PowerApps send email on button press

Below I will take one scenario where I want to send an email to a specific user by pressing on a Button. Also, at the same time, I want to send some information that will be selected via a Powerapps combo box. Follow these below steps that I need to do:

  • On the Powerapps screen, Insert a Combo box (Insert -> Input -> Combo box).
  • Select the Combo box and set its Items property as:
Items = ["PowerApps", "Power BI", "Power Automate", "SharePoint Online"]
PowerApps send email on button press
  • Next, Insert a Button (Send Email) and apply this below formula on its OnSelect property as:
OnSelect = Office365Outlook.SendEmail("nancy@xxxx.onmicrosoft.com", "New Concept has been Added", "Concept: " & Concat(ComboBox1.SelectedItems,ThisRecord.Value))

Where,

  1. Concat = The Concat function concatenates a mix of individual strings
  2. ComboBox1 = Combo box control name
PowerApps send an email on button press
  • Now save and preview the app. Select one choice from the Combo box and hit the Send Email button. Then you can see a mail will get by the recipients as like the below screenshot.
PowerApps send email on the button press

Comments

Popular posts from this blog

send email with attachment in PowerApps

send email with link PowerApps

Power App Examples

How to Create a canvas app from scratch using Microsoft Dataverse

Total Pageviews