cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lefty
Impactful Individual
Impactful Individual

Office365Outlook.SendEmailV2

Hello

I am wondering if I can email multiple users using this function on the bases of if there username is selected as a reviewer in the form, I'm not sure if this will work, as it's using 'or' so would the code just send an email to the first user and then stop or will it filter through to all the users?

Office365Outlook.SendEmailV2(Form1.LastSubmit.Reviewer1.Email || Form1_8.LastSubmit.Form1.LastSubmit.Reviewer2.Email || Form1.LastSubmit.Reviewer3.Email || Form1.LastSubmit.Reviewer4.Email, "Test", "Test Body")

 

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User
Super User

@Lefty 

Sending to multiple emails works by supplying a text string joined by semi-colons.

Office365Outlook.SendEmailV2(Form1.LastSubmit.Reviewer1.Email & "; " & Form1_8.LastSubmit.Form1.LastSubmit.Reviewer2.Email & "; " & Form1.LastSubmit.Reviewer3.Email & "; " & Form1.LastSubmit.Reviewer4.Email, "Test", "Test Body")

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

2 REPLIES 2
mdevaney
Super User
Super User

@Lefty 

Sending to multiple emails works by supplying a text string joined by semi-colons.

Office365Outlook.SendEmailV2(Form1.LastSubmit.Reviewer1.Email & "; " & Form1_8.LastSubmit.Form1.LastSubmit.Reviewer2.Email & "; " & Form1.LastSubmit.Reviewer3.Email & "; " & Form1.LastSubmit.Reviewer4.Email, "Test", "Test Body")

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Lefty
Impactful Individual
Impactful Individual

@mdevaney 

 

Thanks, I've done that in my cc on another, i wasn't thinking

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.

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 (5,379)