Email Composer version 0.8.2

I need to click on a link within the app (email icon), the user’s mail application is opened with a preloaded mail.

Previously using the email composer plugin, installing with:
cordova plugin add de.appplant.cordova.plugin.email-composer@0.8.2

And using open method like this:
module.controller('ThisCtrl', function($cordovaEmailComposer) { var email = { to: 'info@server.com', subject: 'Contact', isHtml: true }; $cordovaEmailComposer.open(email).then(null, function () { // user cancelled email }); }
When updating the application 2016:

  1. When installing gives “Error failed to fetch plugin”

  2. Installing with:
    cordova plugin add https://github.com/katzer/cordova-plugin-email-composer.git
    As indicated in http://ngcordova.com/docs/plugins/emailComposer/ mentioned code does not work

  3. Installing with:
    cordova cordova plugin add-plugin-email-composer
    As shown in https://www.npmjs.com/package/cordova-plugin-email-composer the code above does not work.
    Besides changing $cordovaEmailComposer.open per cordova.plugins.email.open with this plugin it does not work either.

What is the correct way to install the plugin (or similar) and the code to use? Any example?

Thanks

Hi
check out https://devdactic.com/sending-emails-with-images-in-ionic-cordova/
Regards
Tom

window.plugin.email.open() Works!

Thanks