npm

Does your artifact manager get in the way? Join us on Oct. 8 at 10am PT, to discuss how npm can help.Sign up »

aws-ses-send

0.2.0 • Public • Published

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)
        }
    })

Keywords

none

install

npm i aws-ses-send

Downloadsweekly downloads

2

version

0.2.0

license

Apache2

last publish

collaborators

  • avatar
Report a vulnerability