Sha256: dd74c465a13bfc63eeb0edbabaa35c7108928f0d5be03b413ffda621fd87e1eb

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

# ArMailerAWS

Daemon for sending butches of emails via Amazon Simple Email Service (Amazon SES) 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.

[![Build Status](https://travis-ci.org/leschenko/ar_mailer_aws.png?branch=master)](https://travis-ci.org/leschenko/ar_mailer_aws)

## 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:

```ruby
  ActionMailer::Base.delivery_method = :ar_mailer_aws
```

If you need `ar_mailer_aws` delivery method in particular mailer:

```ruby
  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


## 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ar_mailer_aws-0.0.2 README.md