Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require "rubygems"
- require "mailman"
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement