cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnjohn123
Super User
Super User

Build a comma seperated for the emails inside a ComboBox

I have this Combobox inside Canvas app, which allow users to select multiple users display names:-

 

johnjohn123_0-1665348556420.png

 

and when the user click on Send button >>  we want to send an email to all the selected users inside the combobox:-

 

Office365Outlook.SendEmailV2(************)

so what is the needed formula inside the SendEmailV2?

 

1 ACCEPTED SOLUTION

Accepted Solutions
SudeepGhatakNZ
Resident Rockstar
Resident Rockstar

You can still do that by specifying Table (Office365Users.SearchUsers) as the datasource and set the display fields so that it displays the Display Names.

 

SudeepGhatakNZ_2-1665362330262.png

 

 

 

That way you can also leverage other user properties like email, phone , etc

If my suggestion helped you, please give it a Thumbs up and mark it as a Solution so that it can benefit others in the community.

View solution in original post

3 REPLIES 3
SudeepGhatakNZ
Resident Rockstar
Resident Rockstar

@johnjohn123 

 

Dropdown Datasource

SudeepGhatakNZ_0-1665355659300.png

 

Code to send email

SudeepGhatakNZ_1-1665355759870.png

 

If my suggestion helped you, please give it a Thumbs up and mark it as a Solution so that it can benefit others in the community.
johnjohn123
Super User
Super User

@SudeepGhatakNZ but in my case i am showing the Display names inside the ComboBox, so i can not select the Mail inside `ComboBox1.SelectedItems`

SudeepGhatakNZ
Resident Rockstar
Resident Rockstar

You can still do that by specifying Table (Office365Users.SearchUsers) as the datasource and set the display fields so that it displays the Display Names.

 

SudeepGhatakNZ_2-1665362330262.png

 

 

 

That way you can also leverage other user properties like email, phone , etc

If my suggestion helped you, please give it a Thumbs up and mark it as a Solution so that it can benefit others in the community.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,613)