
Announcements
Hi all,
I am looking for some help with sending an email in a Powerapp, so far I have setup a Logic flow to send an email using outlook 355. The flow links in with the app and I am able to set the subject and body within the app. What I also need to be able to do is be able to have the email sent to a list of email address found on a sharepoint list in one of the collumns, is there a way to edit this function to include all the listed email addresses from the sharepoint into the email?
EmailtoAllFlow.Run([List of email addresses here],TextInput1,TextInput2)
Thanks for your help
Hi @lewis1682,
In addition to run a flow to send an email within PowerApps, would it be convenient to use the corresponding Office 365 Outlook Connection directly under PowerApps, then use the Office365.SendEmail function?
Office365.SendEmail( "EmailAddressOne";"EmailAddressTwo", // To Field, allows Multiple value seperated by semicolon "Text,", // Subject field, text field "Text") // body Field
Further, for using Flow to send Email, make sure the Email Address list are seperated by semicolon, this way would make the flow to successfully send the Email.
For example:
'manual->Sendanemail'.Run( "EmailAddress1;EmailAddress2", "Text", "Text")
Another way that you may take a try is to add the Email Addresses in a distribution group, then use the Group address as the To field.
Regards,
Michael