0.0
No commit activity in last 3 years
No release in over 3 years
Daemon for sending butches of emails via Amazon SES using ActiveRecord for storing messages. Handles daily quotas, max send rate.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
~> 1.3
~> 2.5.4
~> 1.0.49
>= 0
>= 0

Runtime

~> 1.1.9
 Project Readme

ArMailerAWS

Build Status Dependency Status

Daemon for sending batches of emails via SMTP, Amazon Simple Email Service (Amazon SES) or Mandrill using ActiveRecord for storing messages. ArMailerAWS handles daily quotas, maximum number of emails send per second (max send rate), batch email sending, expiring undelivered emails.

Installation

Add this line to your application's Gemfile:

gem 'ar_mailer_aws'

And then execute:

$ bundle

Run generator:

$ rails g ar_mailer_aws BatchEmail

Run migrations:

$ rake db:migrate

Or install it yourself as:

$ gem install ar_mailer_aws

Usage

To use ar_mailer_aws as default delivery method edit config/initializer/ar_mailer_aws.rb and uncomment below line:

  ActionMailer::Base.delivery_method = :ar_mailer_aws

If you need ar_mailer_aws delivery method in particular mailer:

  class MyMailer < ActionMailer::Base
    self.delivery_method = :ar_mailer_aws
  end

Run delivery daemon:

$ bundle exec ar_mailer_aws start

List available options:

$ bundle exec ar_mailer_aws --help

There are some configuration, see your generated config/initializer/ar_mailer_aws.rb

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request