Emailer

lexan19820.1.00
platforms: android,ios
$ cordova plugin add com.ideateam.plugin.emailer

cordova-plugin-send-email-with-attach

This is a plugin implementation of the Emailer function which call native Email sendler and can pass parametrs with file path which will be attached to the mail.


Installation for Android

Execute in CordovaCLI:

cordova create myApp com.name.product MyAPP
cordova pllatform add android
cordova plugin add https://github.com/lexan1982/cordova-plugin-send-email-with-attach

Call function cordova.emailer from js code with params:

cordova.emailer(callback, error, mail);

callback - success function
error - error function
mail - json object:

{ mail: 'mail@mail.com', subject: 'Report', text: 'Hello.
Calendar plan in attach.', attachPath: 'file:///mnt/card/fileName' }

Cordova docs