Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A node.js module for sending beautiful emails using jade for templates.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
Makefile
README.md
package.json

README.md

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

Something went wrong with that request. Please try again.