cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

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"})
7 REPLIES 7
Community Champion
Community Champion

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

Anonymous
Not applicable

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

 

@Anonymous

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 

 

 

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

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...

 

Unfortunately I have access dennied on the link below. 

 

Thank you,

 

A


@Bubbler wrote:

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...

 



ndreea 

Hello,

 

What worked for me was doing the following under after Cc

{Cc:"email1@mail.com"&";"&"email2@mail.com"}

 

Let me know if it solves your issue as well.

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (3,299)