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.
- Open your already existing application or start a new one.
- Add a new Button control to your app.
- Go to the Events tab of the Button control and edit the Clicked On rule.
- Add a new Open Url rule.
- Add the following the in the Url field of the Open Url rule:
<firstname.lastname@example.org>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
mailto:email@example.comfirstname.lastname@example.org&subject=Excited%20to%20meet%20at%20the%20event!&body=Hi%20John,, the result should be like in the image below:
You can use
%0D%0Afor line breaks inside the email body.
Updated 11 months ago