Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
= amazon_ses
Really simple gem that allows you to send email through amazon simple email service.
Installation
gem install amazon_ses
Usage:
require 'rubygems'
require 'amazon_ses'
# all methods return a raw http response object
# to get the xml just call body on the return object from any of
# the following methods.
# Exceptions will be throw on any api call that doesn't result in
# a 200 OK response from amazon.
# you must have a verified address with amazon to send mail
AmazonSES::Verify.address("youremail@gmail.com",amazon_secret,amazon_key)
# after verifying the address you can send mail
# simple send mail text only
AmazonSES::AmzMail.send(from,to,subject,body,secret,key)
# send html email
AmazonSES::AmzMail.send_html(from,to,subject,body,secret,key)
# if you produce your own email via the mail gem you can pass the result of calling to_s on the mail object
# to the following method
AmazonSES::AmzMail.send_raw(mail_string,amazon_secret,amazon_key)
# the following are two methods for getting stats
puts AmazonSES::Stats.send_quota(amazon_secret,amazon_key).body
puts AmazonSES::Stats.send_stats(amazon_secret,amazon_key).body
# the following is a helper object for looking at your stats
stobj = StatObject.new(amazon_secret,amazon_key)
puts stobj.sent_last_24_hours
puts stobj.reached_quota?
Hope you enjoy the Gem. If anyone wants to write a plugin for rails I would link definately link to it and find it useful.
== Note on Patches/Pull Requests
== Copyright
Copyright (c) 2011 jeff durand. See LICENSE for details.
FAQs
Unknown package
We found that amazon_ses demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.