Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- POP3Config = {
- username: "user@mail.x",
- password: "pass",
- server: "pop.serv.x",
- port: 110
- }
- def login
- config = POP3Config.values_at(:username, :password, :server, :port)
- connection = Net::POP3.start(*config)
- end
Add Comment
Please, Sign In to add comment