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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Issue with duplicate e...
Power Apps
Answered

Issue with duplicate email addresses Office365Outlook.SendEmailV2

(0) ShareShare
ReportReport
Posted on by 11

I am developing an approval app in Power Apps - the user selects three approvers from drop-down lists / combo boxes, the approvers' email addresses are then assigned to three variables (VarPortLead, VarComm and VarFinance). When the form is submitted, an email should be sent to the three selected people.

This works fine if each person is unique, but if the same person is selected as approver for multiple categories, I get the following error:

Lozza_0-1695200933970.png

 

This is my code:

Lozza_1-1695201115982.png

 

Is there any way to get around this? Thanks

Categories:
  • Verified answer
    Lozza Profile Picture
    11 on at

    Sorry, I can't figure out how to delete my post, but I have resolved the issue - I was concatenating the emails incorrectly!

  • Samuel-Zhou Profile Picture
    393 on at

    @Lozza you can try this code

    Office365Outlook.SendEmailV2(VarPortLead;VarComm;VarFinance,"test","fine")

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard