Hello All,
We are creating an application, in which i have created a button on a screen. OnSelect property i am sending email to some group of users. The code is as below.
Office365Outlook.SendEmailV2(
VarItem.'Created By'.Email,
"This is a Test Email Sent From Approval Coded Through PowerApps",
"Hi " & VarItem.'Created By'.DisplayName & "<br> Your Ticket namely " & VarItem.'Project Name' & "is now approved by Review Team. "<br> Regards, <br>Team",
{
Cc: "user1@emai.com
Importance: "High"
}
)
As can be seen from the code above presently i am sending the email to the person who created the Item. Whereas we have a list (Name: 'REmail') of all the respective users with their email ID's. The list only have two columns Name and Email. What i want is, the email to be sent to all the users from the in the 'REmail' from 'Email' column.
Using the same way i can add the recipients in to or in CC as well.
Can anyone please help how to do that?
Thanks,
Akshay