method
authenticate
![No documentation Importance_0](https://d2vfyqvduarcvs.cloudfront.net/images/importance_0.png?1349367920)
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