Last active
April 22, 2016 05:17
-
-
Save vemarav/7d5ee5afdd6b4fb57d676f1e5e641896 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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