Banner background image
Legacy Apps User Guide
Last updated Jan 18, 2024

Include MailTo Links


You can set up a MailTo link to a button in your application. By doing so, you can send an email to a specific address directly from your application, without having to copy it and entering it into an email client.

To integrate a MailTo link in your app, follow the steps below.


  1. Open your already existing application or start a new one.
  2. Add a new Button control to your app.
  3. Go to the Events tab of the Button control and edit the Clicked On rule.
  4. Add a new Open Url rule.
Add the following the in the Url field of the Open Url rule: mailto:<>, where <> is the email address to which you want to send the email.

You can add more than just an email address in the rule. You can also add an address in the BCC field, an email subject, or even some text in the email body. For example, if you type in!&body=Hi%20John,, the result should be like in the image below:
docs image
You can use %0D%0A for line breaks inside the email body.
  • Introduction
  • Procedure

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.