Mailman 0.3.0 released
Mailman 0.3.0 has been released. There are three new features:
CC condition
Messages can now be matched based on the CC header:
cc 'bob@example.com' do
# Process message
end
Class routing
You can now use instance methods as well as blocks to process messages. This allows you to use a #receive method in a Rails mailers:
class Notifier < ActionMailer::Base
default :from => 'notifier@example.com'
# Regular mailer setup and methods here
def receive(message, params)
# Process reply to notification messages
end
end
Mailman app:
Mailman::Application.run do
to 'notifier@example.com', Notifier
end
POP3 SSL
SSL is now supported by the POP3 receiver, which means that you can use Gmail out of the box with Mailman:
Mailman.config.pop3 = {
:username => 'chunkybacon@gmail.com',
:password => 'foobar',
:server => 'pop.gmail.com',
:port => 995,
:ssl => true
}
For more information on these features, and how to use Mailman, take a look at the User Guide.
As always if you have any problems or feature requests, please open an issue on the GitHub issue tracker. Even better, if you can fix it or write the feature yourself, then fork the project, and send me a pull request (please remember to write specs for features).
This is the last release under the sponsorship of the Ruby Summer of Code. I’d like to thank all the sponsors and my mentor, Steven Soroka for helping me to create Mailman.