Skip to content

FGRibreau/node-transacemail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transactional Email & Templated Email for NodeJS done right Build Status Code Climate

Transacemail provides an organized way to handle transactional email while still being fully decoupled and modular.

NPM

Install the module with: npm install transacemail

How to implement a TemplateEngine

TemplateEngine are object that should implement the following methods:

  • .compile(templateString) -> Function
  • .exec(fnCompiledTemplate, data) -> String See Mailing.templateEngine in Mailing.js.

How to implement a MailProvider

MailProviders just have to implement: .send(mail, callback(err, success)). See node-transacemail-mandrill.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

v0.1.8

  • Removed support for 0.6

v0.1.0 - Initial commit (4 fev. 2012)

Donate

I maintain this project in my free time, if it helped you please support my work via paypal or bitcoins, thanks a lot!

License

Copyright (c) Francois-Guillaume Ribreau Licensed under the MIT license.

About

Transactional Email & Templated Email for NodeJS done right

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages