auth_only(address, port = nil, account = nil, password = nil, isapop = false)
Class Public methods
Opens a POP3 session, attempts authentication, and quits.
This method raises POPAuthenticationError if authentication fails.
Example: normal POP3
Net::POP3.auth_only('pop.example.com', 110, 'YourAccount', 'YourPassword')
Example: APOP
Net::POP3.auth_only('pop.example.com', 110, 'YourAccount', 'YourPassword', true)
Please login to continue.