A mail transport for winston using Amazon Simple Email Service (SES)
npm install winston-amazon-sesA email transport for [winston][0] using Amazon Simple Email Service (SES) inspired in winston-mail.
`` sh`
$ curl http://npmjs.org/install.sh | sh
` sh`
$ npm install winston
$ npm install winston-amazon-ses
js
var winston = require('winston'); //
// Requiring
winston-amazon-ses will expose
// winston.transports.SES
//
require('winston-amazon-ses').SES; winston.add(winston.transports.SES, options);
`The SES transport uses node-amazon-ses behind the scenes. Options are the following:
__to:__ The address(es) you want to send to. [required]*
__accessKey__: AWS SES access key. [required]*
__secretKey__: AWS SES secret key. [required]*
* __from:__ The address you want to send from. (default:
winston@[server-host-name]`)[0]: https://github.com/flatiron/winston