cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kywest
Level: Powered On

Emailing multiple people in power apps

I need a function that sends an email to the user of the power app and cc's multiple accounts. I only get one cc to work. Can the code below be modified to cc multiple accounts? Office365.SendEmail(User().Email,"title","body",{Cc:abc@gmail.com,"xyz@gmail.com"})
5 REPLIES 5
Super User
Super User

Re: Emailing multiple people in power apps

I'm pretty certain. Have you tried adding a semi colon and additional email addresses in the CC area?

Highlighted
Administrator
Administrator

Re: Emailing multiple people in power apps

Thanks for posting in the community @kywest! Are you still experiencing this issue? If you are, please update the thread and review the latest reply from @ericonline

 

@TopShelf-MSFT

AndreeaM
Level: Powered On

Re: Emailing multiple people in power apps

Hello, 

I have a drop down list with multiple choices (people and groups) and I would like to be able to send an email to all of them when I hit the 'send email' button. On 'OnSelect' button I wrote the below syntax but this only sends an email to the last person that was selected from the drop down list. 

Office365.SendEmail(DataCardValue74.Selected.Email,"Subject","https://web.powerapps.com/apps/27535627256232975692856286459265=" & ID) 

I would like to add 'ForAll()' but I am not sure how.  

I would very much appreciate your help. 

 

Many thanks,

Andreea 

 

 

alexesprtu
Level: Powered On

Re: Emailing multiple people in power apps

I'm having the same issue myself. Can't seem to make it work with commas/semicolons.

Bubbler
Level: Powered On

Re: Emailing multiple people in power apps

Use Concat() function to create the destination list of adresses

Look at this post: 

https://powerusers.microsoft.com/t5/Expressions-and-Formulas/Collect-Email-addresses-and-send-them-t...

 

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 366 members 5,468 guests
Please welcome our newest community members: