No release in over 3 years
Low commit activity in last 3 years
Handling SES notifications like Bounce or Complaint.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

< 5.2, >= 4.1
 Project Readme

SesBlacklistRails

Gem Version CircleCI Maintainability Dependency Status

Installation

Add this line to your application's Gemfile:

gem 'ses_blacklist_rails'

And then execute:

$ bundle
$ bundle exec rails g ses_blacklist_rails:install

Configuration

in config/initializers/ses_blacklist_rails.rb

SesBlacklistRails.configure do |config|
  config.send_bounce = false
  config.send_complaint = false

  # send the mail to config.default_address when the TO: address is bounce or complaint before.
  # set to '' to stop the mail sending when bounce or complaint.
  config.default_address = 'some_address@sample.com'
end

ActionMailer::Base.register_interceptor(::SesBlacklistRails::ActionMailInterceptor)

Contributing

Please let me know if you found any problems, by creating ISSUE reports or PRs.

License

The gem is available as open source under the terms of the MIT License.