Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

aws-ses-send

brianleroux3Apache20.2.0

simple send method for AWS SES

readme

AWS Simple Email Service Send

Install

npm i aws-ses-send

Configure

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:'b@brian.io', from:'no-reply@brian.io', subject:'solid email', body:'srs, nice stuff'}

    send(msg, function(err, response) {
        if(err) {
            console.error(err) 
        }
        else {
            console.log(response)
        }
    })