This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
com-badrit-emailcomposer with all
npm packages installed. Try it out:
com-badrit-emailcomposer lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
This Plugin is inspired from EmailComposer plugin here.
This plugin allows you to send html email to any email accounts you want including attachments
This has been successfully tested from Cordova 2.2.0 through to version 3.1.0.
for Cordova >= 3.0.0
phonegap local plugin add https://github.com/hazemhagrass/EmailComposer.git
cordova plugin add https://github.com/hazemhagrass/EmailComposer.git
for Cordova >= 5.0.0
cordova plugin add com-badrit-emailcomposer
ATTENTION: the callback will never be triggered, it's here only for consistency with the iOS plugin
window.plugins.EmailComposer.showEmailComposerWithCallback(null,"Look at this photo","Take a look at <b>this<b/>:",["firstname.lastname@example.org", "email@example.com"],,,true,["_complete_path/image.jpg", "_other_complete_path/file.zip"]);