Skip to content

Instantly share code, notes, and snippets.

@vemarav
Last active April 22, 2016 05:17
Show Gist options
  • Save vemarav/7d5ee5afdd6b4fb57d676f1e5e641896 to your computer and use it in GitHub Desktop.
Save vemarav/7d5ee5afdd6b4fb57d676f1e5e641896 to your computer and use it in GitHub Desktop.
require 'aws-sdk'
ses = AWS.ses
AWS.config(
:access_key_id => '..',
:secret_access_key => '..,
:server => '..')
#puts ses.identities.map(:&identity)
ses.send_email(subject: "Hi",
from: "[email protected]",
to: "[email protected]",
body_text: "Hi",
body_html:"<html><h1>Hi</h1></html>")
puts ses.statistics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment