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.
gem install mailman
Works fine with Ruby >= 1.8.7, rubinius and jRuby. Does not work with Ruby 1.8.6.
- mail >= 2.0.3
- activesupport >= 2.3.4
- fssm >= 0.1.4
- maildir >= 0.5.0
- i18n >= 0.4.1
This project was sponsored by the Ruby Summer of Code, and my mentor was Steven Soroka.
Copyright (c) 2010 Jonathan Rudenberg. See LICENSE for details.