1.2.0 • Published 8 years ago

le-email-service v1.2.0

Weekly downloads
1
License
-
Repository
github
Last release
8 years ago

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
1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago