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 / Power apps send emailv...
Power Apps
Answered

Power apps send emailv2 using variables

(0) ShareShare
ReportReport
Posted on by 32

Hi Guys,

 

I have a powerapp which has some global variables for different types. I have set up a form with locations (drop-down field). I tried using send emailv2 option to send emails when user select a type and select the location email will be sent.

 

I have 6 different types and locations, each locations has different email addresses. 

example : when user select type A - directs you to form - user select location A 

 

send emailv2 : To field is setup to user()

          Cc field - this is where i need the email address from each location. 
          Body: html email template 

 

I tried switch formula to concat type and location. But not successful 

 

how best i can achieve this to work.

 

 

Categories:
I have the same question (0)
  • TheRobRush Profile Picture
    11,128 Moderator on at

    put a label somewhere on your screen. give it the text property of 

    Concatenate(firstControl.Text,";",secondCOntrol.Text)

    and so on so you can see how it works. Concat is for tables, concatenate is for controls values, text, etc

  • Zamil Profile Picture
    32 on at

    How can i get that concatenation to cc field in send emailv2

  • Verified answer
    TheRobRush Profile Picture
    11,128 Moderator on at

    type it into that spot same way you get it the way you like it in the label.

    Office365.SendEmailV2("Rob.Rush@YoYoYo.Com", "Hi There", "Sup Homie", {Cc:Concatenate("Nothing@Email.com", ";", "howaboutyou@email.com")})
  • Woody2312 Profile Picture
    36 on at

    Hi All My query is slightly different, I need to add multiple inputs when sending the email, they work and appear in the email but i cant get them to have spaces between the inputs, here's the code currently

     

    //Send email on submit to Fleet Selected Supplier
    Office365Outlook.SendEmailV2("Host121@on.microsoft.com","Trailer Submitted For Inspection",
    ComboBox1_1.Selected.NewFleetList&
    TextInput5.Text&
    Dropdown1.Selected.'Service Agent')

  • TheRobRush Profile Picture
    11,128 Moderator on at
    Office365Outlook.SendEmailV2("Host121@on.microsoft.com","Trailer Submitted For Inspection",
    Concatenate(ComboBox1_1.Selected.NewFleetList," ", 
    TextInput5.Text," ",
    Dropdown1.Selected.'Service Agent')

     

    should try and make your own thread next time, will get your answer faster. Only people that get notified you replied here are the ones who replied to it before, and replying does not move a thread back up to top of the thread list, so if you respond to a really old thread theres a pretty good chance nobody will ever notice.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard