This package has been deprecated

Author message:

From now on, this package name will be used by a different package. If this project is part of your dependency list, please pin its version tag to 0.0.5

balloon

0.0.5 • Public • Published

Balloon

Send email using Amazon SES and jade templates.

Balloon is an incredibly simple node.js module for sending emails through Amazon SES using Nodemailer and Jade for templating.

Installation

npm install balloon

Basic usage

var Balloon = require('balloon')
 
balloon = new Balloon({
  auth: {
    AWSAccessKeyID: <AWS Access Key ID>,
    AWSSecretKey: <AWS Secret Key>
  }
})
 
var model = {
   foo: 'bar'
}
var params = {
  from: 'president@gmail.com',
  to: ''
  subject: ''
}
balloon.send('templateFile', model, params, function (err, result) {
    // We did it!
});

Templating

See jade documentation

Testing

make test ARGS="--from <FROM> --to <TO> --key <AWS_KEY> --secret <AWS_SECRET>"

License

MIT

Package Sidebar

Install

npm i balloon

Weekly Downloads

4

Version

0.0.5

License

MIT

Last publish

Collaborators

  • leo