Guest User

Untitled

a guest
Oct 30th, 2017
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. POP3Config = {
  2. username: "user@mail.x",
  3. password: "pass",
  4. server: "pop.serv.x",
  5. port: 110
  6. }
  7.  
  8. def login
  9. config = POP3Config.values_at(:username, :password, :server, :port)
  10. connection = Net::POP3.start(*config)
  11. end
Add Comment
Please, Sign In to add comment