ar_mailer_service
by Adam Meehan
http://armailerservice.rubyforge.org/

== DESCRIPTION:

A windows service for the ar_mailer gem by Eric Hodel (http://segment7.com/) from the Seattle.rb https://rubyforge.org/projects/seattlerb/.

== FEATURES/PROBLEMS:

Creates a windows service to run the ar_sendmail script from the ar_mailer gem using a subset of settings which apply to a service.

== SYNOPSIS:

To install as windows service:

ar_sendmail_service install -N rails_app_mailer -c c:/my/app/root -e production

For an explanation of options see the ar_mailer gem by running

ar_sendmail -h

only the -c, -e, -b, --delay and --max-age options apply to the service


To remove service:

ar_sendmail_service remove -N rails_app_mailer

OR

sc.exe delete rails_app_mailer (Windows service controller)

To start service:

ar_sendmail_service start -N rails_app_mailer

OR

net start rails_app_mailer

To stop service:

ar_sendmail_service stop -N rails_app_mailer

OR

net stop rails_app_mailer

== REQUIREMENTS:

ar_mailer gem
win32-service gem required to run as service

== INSTALL:

gem install ar_mailer_service

== LICENSE:

(The MIT License)

Copyright (c) 2007 Adam Meehan

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.