Jen5411892
Posts: 0
Joined: Tue Jan 08, 2013 3:13 pm

open native email composer

What is the best way to open a native compose email window in a native iOS and Android app?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

open native email composer

Hi Jennifer,

you can use classic 'mailto'

something like this:
code
<a href="mailto:info@mailaddress&#46;com">Mail us< &#47;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&#46;com?subject=Sent%20from%20the%20web" data-role="button">
Mail Me
<&#47;a>

/code
as a result you'll see a button which will open the native mail client on a device.

Jen5411892
Posts: 0
Joined: Tue Jan 08, 2013 3:13 pm

open native email composer

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.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

open native email composer

Try placing only this codemailto:info@mailaddress&#46;com/code
in Events section - select button component - Event: Click - Action: Navigate to link - in URL field.

Jen5411892
Posts: 0
Joined: Tue Jan 08, 2013 3:13 pm

open native email composer

Perfect! Thanks so much.

Return to “Issues”