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

Submit form to multiple combo box emails

Hello, 

 

I have created a form that needs to be submitted to one or multiple emails. Depending on whats needed. 

 

I created a combo box that Search Users within my outlook. This works perfectly. I am allowed to select one or multiple people at a time. 

 

The issue comes when I select multiple people at a time, only the first name entered will receive the email. Why is this happening?

 

This is the code I am using on my button: Office365Outlook.SendEmail('name-ComboBox'.Selected.Mail, "Subject Line Here", "Body Copy: " & ThisItem.'Link to item')

 

Thank you in advanced! 

2 ACCEPTED SOLUTIONS

Accepted Solutions
EricLott
Level 10

Re: Submit form to multiple combo box emails

Instead of referencing 'name-ComboBox'.Selected.Mail, you'll need to concat the selected items into one string. See below:

 

Concat('name-ComboBox'.SelectedItems.Mail,Mail,";")

View solution in original post

EricLott
Level 10

Re: Submit form to multiple combo box emails

Looks like you're missing a comma after the Concat() function.

View solution in original post

4 REPLIES 4
EricLott
Level 10

Re: Submit form to multiple combo box emails

Instead of referencing 'name-ComboBox'.Selected.Mail, you'll need to concat the selected items into one string. See below:

 

Concat('name-ComboBox'.SelectedItems.Mail,Mail,";")

View solution in original post

Yuyisc
Level: Powered On

Re: Submit form to multiple combo box emails

Hello!

 

Thank you for such a fast response! 

 

This actual broke the rest of my code 😞 (Please see attachment)

EricLott
Level 10

Re: Submit form to multiple combo box emails

Looks like you're missing a comma after the Concat() function.

View solution in original post

Yuyisc
Level: Powered On

Re: Submit form to multiple combo box emails

Thank you so much for your help with this!! 

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (3,610)