/mailman

An incoming mail processing microframework in Ruby

Primary LanguageRubyMIT LicenseMIT

Mailman Build Status

Mailman is an incoming mail processing microframework (with POP3 and Maildir support), that works with Rails "out of the box".

require 'mailman'
Mailman::Application.run do
  to 'ticket-%id%@example.org' do

    Ticket.find(params[:id]).add_reply(message)
  end
end

See the User Guide for more information.

There is also a great Getting Started Guide written by Dan Sowter.

Installation

gem install mailman

Compatibility

Tested on Ruby 1.8.7, 1.9.2, 1.9.3, REE, JRuby 1.7, and Rubinius.

Dependencies

  • mail >= 2.0.3
  • activesupport >= 2.3.4
  • listen >= 0.4.1
  • maildir >= 0.5.0
  • i18n >= 0.4.1

Thanks

This project was sponsored by the Ruby Summer of Code, and my mentor was Steven Soroka.

Contributors

Copyright

Copyright (c) 2010-2012 Jonathan Rudenberg. See LICENSE for details.