on 2024 Dec 03 1:04 PM
Hi guys,
Is it possible to implement a button that opens the email app with a email passing it and a body in a MDK app?
Greetings and thanks for the response!! 😄
Request clarification before answering.
You should be able to create a mailto link and depending on how your device email works it would launch the email app and have a prepopulated message based on the url properties you sent. A quick search found this link that explains the mailto properties but it will be up to your email app if it honors them or not.
https://css-tricks.com/snippets/html/mailto-links/
From the MDK side you can construct your url string and call clientAPI.nativescript.utilsModule.openURL and pass your mailto link string.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.