0.0.5 • Published 12 years ago

balloon v0.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
12 years ago

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

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago