class Net::SMTP
def check_auth_args(user, secret, authtype = DEFAULT_AUTH_TYPE)
def check_auth_args(user, secret, authtype = DEFAULT_AUTH_TYPE) unless user raise ArgumentError, 'SMTP-AUTH requested but missing user name' end unless secret raise ArgumentError, 'SMTP-AUTH requested but missing secret phrase' end end