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

Power apps send emailv2 using variables

(0) ShareShare
ReportReport
Posted on by 26

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
    26 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

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard