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