I successfully set up
ar_mailer and used it to send emails to 400+ website subscribers. It saves all your emails into a database table and sends them out when you run ar_sendmail.
You can configure the sending options so emails are delivered in small batches and set the delay in between. I tried a batch size of 200 and a delay of 3600 seconds (1 hour) but I think this overwhelmed the mail server as not all my emails went out. I have since been recommended by support to try sending batches of 10 so a 180 second delay will send 200 in an hour. I'll report on the success of this configuration after I send my next email newsletter.
However since the server was upgraded this week to rails 1.2.2 I have been unable to run ar_sendmail and received the following errors:
[~/myapp]# ar_sendmail --batch-size 10 --delay 180
/usr/local/bin/ar_sendmail:17:Warning: require_gem is obsolete. Use gem instead.
./config/boot.rb:28:Warning: require_gem is obsolete. Use gem instead.
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:246:in `activate': can't activate activesupport (= 1.3.1), already activated activesupport-1.4.1] (Gem::Exception)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:264:in `activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:263:in `each'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:263:in `activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:76:in `active_gem_with_options'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:61:in `require_gem'
from ./config/boot.rb:28
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
... 12 levels...
from /usr/local/lib/ruby/gems/1.8/gems/ar_mailer-1.1.0/lib/action_mailer/ar_sendmail.rb:279:in `run'
from /usr/local/lib/ruby/gems/1.8/gems/ar_mailer-1.1.0/bin/ar_sendmail:5
from /usr/local/bin/ar_sendmail:18:in `load'
from /usr/local/bin/ar_sendmail:18
[~/myapp]#
If anyone else uses ar_mailer and has any ideas how to get around this problem please let me know.
Thanks :)