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 / Add a button redirecti...
Power Apps
Answered

Add a button redirecting to outlook

(0) ShareShare
ReportReport
Posted on by 298

Hello, how r you? How I can add a button redirecting to outlook already with destinatary and subject?

Categories:
I have the same question (0)
  • BCLS776 Profile Picture
    8,994 Moderator on at

    Depending on what you are after, there are two things you can do, by adding code on to the OnSelect property of a button, for example:

     

    Launch( "https://outlook.com" )

    This simply opens a browser and directs it to outlook.com for a login.

     

    Or, if you want to create and send an email, you should use the Office 365 Outlook Connector. The connector needs arguments as follows:

    Office365Outlook.SendEmail("mail@mail.com", "email subject", "This is an email message");

     

  • luisabsg Profile Picture
    298 on at

    I want that when I select button, launch a outlook screen with subject and destinatary 

  • Verified answer
    BCLS776 Profile Picture
    8,994 Moderator on at

    This will launch whatever default mail client the user has installed:

     

    Launch("mailto:" & txtRecipient.Text & 
     "?subject=" & EncodeUrl(txtSubject.Text) & 
     "&body=" & EncodeUrl(txtBody.Text)
    )

    Copied from: http://powerappsguide.com/blog/post/create-new-outlook-email-with-subject-and-body 

     

    You will need to specify values for the three text variables in this code

  • askondo Profile Picture
    Microsoft Employee on at

    @BCLS776 Thanks for all your contributions to the forum. Your posts have helped a lot of users.

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 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard