Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. require "rubygems"
  2. require "mailman"
  3.  
  4. Mailman.config.pop3 = {
  5. server: 'pop.gmail.com', port: 995, ssl: true,
  6. username: "email@gmail.com",
  7. password: "password"
  8. }
  9.  
  10. Mailman::Application.run do
  11. default do
  12. puts message.subject
  13. end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement