Subscribe

UiPath Apps

The UiPath Apps Guide

Include MailTo Links

Introduction


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.

Procedure


  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.
  1. Add a new Open Url rule.
  2. Add the following the in the Url field of the Open Url rule: mailto:<[email protected]>, where <[email protected]> is the email address to which you want to send the email.

📘

Tip:

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 mailto:[email protected][email protected]&subject=Excited%20to%20meet%20at%20the%20event!&body=Hi%20John,, the result should be like in the image below:



You can use %0D%0A for line breaks inside the email body.

Updated 3 months ago

Include MailTo Links


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.