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 / Button to launch email
Power Apps
Answered

Button to launch email

(0) ShareShare
ReportReport
Posted on by 12

I'm not quite able to get a button formula to do what I want.

Given the code "mailto:email.address?subject=text&body=text"

 

I'm attempting to have the following:

email address - hard code

subject - Concatenate(text & Field.value)

body - text

 

I've been unable to get the body to populate. it ends up with the Subject being both the subject and body.

 

Current Button OnSelect Code below:

Launch(Concatenate("mailto:myemail@ourdomain.com?"&
($"subject= Suite Reservation Request for ". ThisItem.LocationDayDate) &
"body=Please%20reserve%20a%20suite%20for%20the%20following%20people:%0D%0D"))

 

Please help if you can.

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @rpawliko,

     

    Please try the following adjustment:

    Launch(
     "mailto: myemail@ourdomain.com",
     {
     Subject: "Suite Reservation Request for " & ThisItem.LocationDayDate,
     Body: "Please reserve a suite for the following people:"
     }
    )

     

    In order to concatenate text you don't have to combine the Concatenate function and the & operator. Concatenation can be done via the following approaches:

    //Using the & operator:
    "Hello " & User().FullName
    
    //Concatenate function
    Concatenate("Hello ", User().FullName)
    
    //String interpolation
    $"Hello {User().FullName}"

     

    If this solves your question, would you be so kind as to accept it as a solution.
    Thanks!

  • rpawliko Profile Picture
    12 on at

    Thank you - that works!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard