<commit_before>= ar_mailer

A two-phase delivery agent for ActionMailer

Rubyforge Project:

http://rubyforge.org/projects/seattlerb

Documentation:

http://seattlerb.org/ar_mailer

and for forked additions

http://github.com/adzap/ar_mailer/wikis

Bugs:

http://adzap.lighthouseapp.com/projects/26997-ar_mailer

== About

Even delivering email to the local machine may take too long when you have to
send hundreds of messages.  ar_mailer allows you to store messages into the
database for later delivery by a separate process, ar_sendmail.

== Installing ar_mailer (forked)

Before installing you will need to make sure the original gem is uninstalled as they can't coexist:

  $ sudo gem uninstall ar_mailer

Then

  $ sudo gem install adzap-ar_mailer

For Rails >= 2.1, in your environment.rb:

  config.gem "adzap-ar_mailer", :lib => 'action_mailer/ar_mailer', :source => 'http://gemcutter.com'

For Rails 2.0, in an initializer file:

  require 'action_mailer/ar_mailer'

== Usage

Go to your Rails project:

  $ cd your_rails_project

Create the migration and model:

This shows the options which are only the model name, which defaults to Email

  ./script/generate ar_mailer -h<commit_msg>remove gemcutter source in instructions<commit_after>= ar_mailer

A two-phase delivery agent for ActionMailer

Rubyforge Project:

http://rubyforge.org/projects/seattlerb

Documentation:

http://seattlerb.org/ar_mailer

and for forked additions

http://github.com/adzap/ar_mailer/wikis

Bugs:

http://adzap.lighthouseapp.com/projects/26997-ar_mailer

== About

Even delivering email to the local machine may take too long when you have to
send hundreds of messages.  ar_mailer allows you to store messages into the
database for later delivery by a separate process, ar_sendmail.

== Installing ar_mailer (forked)

Before installing you will need to make sure the original gem is uninstalled as they can't coexist:

  $ sudo gem uninstall ar_mailer

Then

  $ sudo gem install adzap-ar_mailer

For Rails >= 2.1, in your environment.rb:

  config.gem "adzap-ar_mailer", :lib => 'action_mailer/ar_mailer'

For Rails 2.0, in an initializer file:

  require 'action_mailer/ar_mailer'

== Usage

Go to your Rails project:

  $ cd your_rails_project

Create the migration and model:

This shows the options which are only the model name, which defaults to Email

  ./script/generate ar_mailer -h
{'fraction_non_alphanumeric': 0.07211740041928721, 'fraction_numerical': 0.007547169811320755, 'mean_word_length': 4.337807606263982, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6106666', 'n_tokens_mistral': 811, 'n_tokens_neox': 752, 'n_words': 275}