Skip to content

Instantly share code, notes, and snippets.

@cubiic
Created August 14, 2012 04:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cubiic/3346391 to your computer and use it in GitHub Desktop.
Save cubiic/3346391 to your computer and use it in GitHub Desktop.
require "rubygems"
require "bundler/setup"
require "mailman"
Mailman.config.logger = Logger.new("log/mailman.log")
Mailman.config.pop3 = {
server: 'pop.gmail.com', port: 995, ssl: true,
username: "email@gmail.com",
password: "password"
}
Mailman::Application.run do
default do
puts message.subject
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment