web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Office365 Send Email V...
Power Apps
Unanswered

Office365 Send Email V2 | Multiple Recipients not accepted as variable

(0) ShareShare
ReportReport
Posted on by 12

Hello Everyone,

 

I just have a simple question as to how the Send Email V2 works, when trying to supply multiple recipients in a dynamic way.

When I supply a string like: "email1@test.com;email2@test.com", the email is accepted and it gets sent to those emails.

However, when i supply the same exact string, (checked with a text label), through a variable I receive this error and the email doesn't send:

DaveGoodday_0-1701339959341.png

Anyone knows what might be causing this or what the appropriate format is for the emails in this case?

Categories:
I have the same question (0)
  • Verified answer
    DaveGoodday Profile Picture
    12 on at

    I Figured out the issue:

    For some reason, when supplying the emails through a variable it should not be contained within quotation marks - "" I had char(34) added before or after my variable and it was not resolving them properly. A variable just containing the emails separated by semicolons - ; works as intended

  • Verified answer
    timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    Hi @DaveGoodday 

    As you correctly identified, the 'to' addresses shouldn't contain the double quote character. You can either not include these characters in the variable or you can strip them out with the Substitute function.

    Office365Outlook.SendEmailV2(
     Substitute(varYourVariable, """", "")
     "Email Subject",
     "Email Body"
    )

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard