le-email-service
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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, 'from@email.com');

  email.sendHtml('to@email.com', 'Subject', '<h1>Hello!</h1>')
  .then(function (record) {
    ...
  });

Tests

  • npm test to run unit tests once
  • gulp tdd to run unit and e2e tests when tests change
  • gulp 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

Readme

Keywords

none

Package Sidebar

Install

npm i le-email-service

Weekly Downloads

0

Version

1.2.0

License

none

Last publish

Collaborators

  • castle