PhoneGap 3/ Cordova 3 does not open up e-mail links (mailto) with the native mail application (ios)

StackOverflow https://stackoverflow.com/questions/19521192

  •  01-07-2022
  •  | 
  •  

Question

I updated a phonegap 2.5 app to ios7 and cordova 3.1. It runs only on iOS.

When the external links wouldn't open, I included the InAppBrowser plugin and that worked.

But how to I get the mail links (E-Mail me) to open in the native mail program? There is no such plugin.

I tried the contacts plugin. But it wasn't that.

I saw the EMail Composer plugin, but I am looking for support by cordova or a cordova plugin.

Was it helpful?

Solution 2

Just solved it.

Seems to be a missing feature of the iOS simulator. On my iPhone 4 it works.

OTHER TIPS

I used this simple html style of doing it. Works fine on ios7 and cordova 3.5 and android 4.4

<a href="mailto:abc@gmail.com" data-rel='external'>

I'm not even using any plugins such as inappbrowser, just in case you have that doubt.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top