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 / Copy to Clipboard butt...
Power Apps
Answered

Copy to Clipboard button in SendEmailV2

(0) ShareShare
ReportReport
Posted on by 116

Hello guys,

I'm using the Office365Outlook.SendEmailV2() function in powerapps.

Is there any way to have a copy to clipboard button in the email, which copies an text?

 

Thanks!

Categories:
  • eisuan Profile Picture
    146 on at
  • Cedric0404 Profile Picture
    116 on at

    Can I use it in the E-Mail function? I failed at trying it.

  • eisuan Profile Picture
    146 on at

    @Cedric0404 

    Can you explain more, where do you want copy button to be and which text to copy ?

  • Cedric0404 Profile Picture
    116 on at

    I want to send an email, which has a copy to clipboard button in its body. The text is specified in PowerApps

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Cedric0404,

    Not sure if I unserstand you correctly, do you just want to copy a text in your canvas app?

    If so, we could directly refer to this text from its control, like a Label or a TextInput or anything else in a string way...

     

    When it comes to send email function, you just need to refer to that text directly:

    Office365Outlook.SendEmailV2(
    to_input.Text, // To address
    Subject_input.Input.Text, // Subject of the email
    Body_input.Text // Body of the email
    )

    If you want to refer to it as a whole like the clipboard button, absolutely you could achieve this using a copy button.

    Set Button OnSelect:

    Set(varText,Text_from_control)

    Once you click this copy button, a variable will be generated, everytime you want to refer to it, you could just refer to this variable.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard