method
check_auth_args
check_auth_args(user, secret, authtype = DEFAULT_AUTH_TYPE)
private
Hide source
# File lib/net/smtp.rb, line 775 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