method
authenticate
authenticate(user, secret, authtype = DEFAULT_AUTH_TYPE)
public
Hide source
# File lib/net/smtp.rb, line 725 def authenticate(user, secret, authtype = DEFAULT_AUTH_TYPE) check_auth_method authtype check_auth_args user, secret send auth_method(authtype), user, secret end