open native email composer
What is the best way to open a native compose email window in a native iOS and Android app?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
What is the best way to open a native compose email window in a native iOS and Android app?
Hi Jennifer,
you can use classic 'mailto'
something like this:
code
<a href="mailto:info@mailaddress.com">Mail us< /a>
/code
but to use it with Appery.io the easiest way is to use HTML panel with this code:
code
<a href="mailto:info@mailaddress.com?subject=Sent%20from%20the%20web" data-role="button">
Mail Me
</a>
/code
as a result you'll see a button which will open the native mail client on a device.
I'm using an button with the text "email us" on it. I do not see a way to utilize either of those options with a button.
Try placing only this codemailto:info@mailaddress.com/code
in Events section - select button component - Event: Click - Action: Navigate to link - in URL field.
Perfect! Thanks so much.