aws-ses-send
v0.2.0
Published
simple send method for AWS SES
Downloads
18
Readme
AWS Simple Email Service Send
Install
npm i aws-ses-sendConfigure
Ensure you have verified an email and/or domain in the AWS SES console, and ~/.aws/credentials setup. This module also expects a REGION environment variable. (Ex. REGION=us-east-1 node my-script-that-uses-this-module.js)
Usage
var send = require('aws-ses-send')
, msg = {to:'[email protected]', from:'[email protected]', subject:'solid email', body:'srs, nice stuff'}
send(msg, function(err, response) {
if(err) {
console.error(err)
}
else {
console.log(response)
}
})