le-email-service
v1.2.0
Published
Send emails
Downloads
4
Readme
le-email-service
Send emails
Installation
npm install le-email-service
Usage
var storage = /* initialize storage service */
var provider = /* initialize email provider */
var EmailService = require('le-email-service');
var email = new EmailService(provider, storage, '[email protected]');
email.sendHtml('[email protected]', 'Subject', '<h1>Hello!</h1>')
.then(function (record) {
...
});
Tests
npm test
to run unit tests oncegulp tdd
to run unit and e2e tests when tests changegulp coverage
to run unit tests and create a code coverage report
Contributing
Please follow the project's conventions or your changes will not be accepted
Release History
- 0.1.0 Initial release