Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amazon-ses-with-region

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amazon-ses-with-region

Simple Amazon SES Mailer

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Amazon SES

A simple Amazon SES wrapper, supports the following actions:

  • DeleteVerifiedEmailAddress
  • GetSendQuota
  • GetSendStatistics
  • ListVerifiedEmailAddresses
  • SendEmail
  • VerifyEmailAddress

Does not currently support SendRawEmail.

Install

  npm install amazon-ses

Or from source:

  git clone git://github.com/jjenkins/node-amazon-ses.git
  cd amazon-ses
  npm link .

Verify Source Email

Verify the source email address with Amazon.

  var AmazonSES = require('amazon-ses');
  var ses = new AmazonSES('access-key-id', 'secret-access-key', 'region');
  ses.verifyEmailAddress('foo@mailinator.com');

You will receive a confirmation email - click the link in that email to finish the verification process.

Send Email

  ses.send({
      from: 'foo@mailinator.com'
    , to: ['bar@mailinator.com', 'jim@mailinator.com']
    , replyTo: ['john@mailinator.com']
    , subject: 'Test subject'
    , body: {
          text: 'This is the text of the message.'
        , html: 'This is the html body of the message.'
    }
  });

Get verified email addresses

  ses.listVerifiedEmailAddresses(function(result) {
    console.log(result);
  });

Deleted a verified email address

  ses.deleteVerifiedEmailAddress('foo@mailinator.com', function(result) {
    console.log(result);
  });

Get Quota and Stats

  ses.getSendQuota(function(result) {
    console.log(result);
  });

  ses.getSendStatistics(function(result) {
    console.log(result);
  });

Keywords

FAQs

Package last updated on 21 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc