apps
2021.10
false
Apps User Guide for Automation Suite
Automation CloudAutomation Cloud Public SectorAutomation Suite
Last updated Apr 19, 2024

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.



  4. Add a new Open Url rule.
Add the following the in the Url field of the Open Url rule: mailto:<email@address.com>, where <email@address.com> 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:john@company.com?bcc=jane@company.com&subject=Excited%20to%20meet%20at%20the%20event!&body=Hi%20John,, the result should be like in the image below:
Figure 1. 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.