class Net::POP3

def auth_only(account, password)

This method raises POPAuthenticationError if authentication fails.
This method must not be called while POP3 session is opened.
Starts a pop3 session, attempts authentication, and quits.
def auth_only(account, password)
  raise IOError, 'opening previously opened POP session' if started?
  start(account, password) {
    ;
  }
end