'Send email to selected users in the gallery via checkbox - Power Apps
I have a list of users who submitted their timecards for a week showing in a gallery. I have a checkbox next to each item. I want to be able to approve the selected records from the gallery and send email to each one of them. The email should be personalized showing their names and respective manager details.
Solution 1:[1]
First, in the Data section, add Office365Outlook as a data source.
Then, in the Checkbox's OnCheck property, put the following:
Office365Outlook.SendEmail(
"EMAIL ADDRESS; SEPARATE MULTIPLE ADDRESSES WITH SEMICOLON",
"EMAIL SUBJECT LINE",
"EMAIL BODY",
{Cc:"CC EMAIL ADDRESS"}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | SIE_Vict0ria |
