Skip to content

BenieD/Email_test

Repository files navigation

Cordova Email Plugin - Example

Cordova plugin to access the specific email composition API on various mobile platforms including iOS, Android and Windows Phone.

Instructions

Clone the example branch:

git clone -b example https://github.com/katzer/cordova-plugin-email.git

And then execute:

cordova run [android|browser|ios|osx|windows]

These will lunch the simulator or any plugged in device and start the example application as seen below in the screenshots.

Its also possible to open the project with Xcode, Android Studio or Visual Studio.

A click on the "Open" button will open the email client to further edit the draft and finally send to someone.

cordova.plugins.email.open({
    subject: 'Cordova Icons',
    recipients: 'max@mustermann.de',
    cc: ['john@doe.com', 'jane@doe.com'],
    attachments: [
        'file://img/logo.png',
        'res://icon.png',
        'base64:icon.png//iVBORw0KGgoAAAANSUhEUg...',
        'file://README.pdf'
    ]
})

Please read the plugin's README for further requirements and informations.

Screenshots

License

This software is released under the Apache 2.0 License.

Made with 😋 from Leipzig

© 2017 appPlant GmbH

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors