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")
Solved! Go to Solution.
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."
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."