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.
If you'd like to maintain this gem, email jonathan@titanous.com.
gem install mailman
Tested on Ruby 2.0, 1.9.3, JRuby, and Rubinius.
This project was originally sponsored by Ruby Summer of Code (2010), and mentored by Steven Soroka.
Copyright (c) 2010-2013 Jonathan Rudenberg. See LICENSE for details.