I did a ionic cordova plugin add cordova-plugin-email and added this to my email click handler:
cordova.plugins.email.isAvailable(function (isAvailable) { console.log("Email available: " + isAvailable); });
When I click the button I get a
Email available: true
on my JS console, so I expect the plugin is available.
However, when I do a
cordova.plugins.email.open({ to: 'max@mustermann.de', cc: 'erika@mustermann.de', bcc: ['john@doe.com', 'jane@doe.com'], subject: 'Greetings', body: 'How are you? Nice greetings from Leipzig' });
nothing happens. I don't even receive any errors on the JS console.
Using version ^1.2.6 according to my package.json.
I checked this in the iOS simulator and on a real iPhone.
Any idea why this does not work?
Hi there,
I did a
ionic cordova plugin add cordova-plugin-email
and added this to my email click handler:cordova.plugins.email.isAvailable(function (isAvailable) { console.log("Email available: " + isAvailable); });
When I click the button I get a
on my JS console, so I expect the plugin is available.
However, when I do a
cordova.plugins.email.open({ to: 'max@mustermann.de', cc: 'erika@mustermann.de', bcc: ['john@doe.com', 'jane@doe.com'], subject: 'Greetings', body: 'How are you? Nice greetings from Leipzig' });
nothing happens. I don't even receive any errors on the JS console.Using version ^1.2.6 according to my package.json. I checked this in the iOS simulator and on a real iPhone. Any idea why this does not work?
Thanks!