method
auth_plain
auth_plain( user, secret )
private
Hide source
# File lib/net/smtp.rb, line 573 def auth_plain( user, secret ) res = critical { get_response('AUTH PLAIN %s', base64_encode("\0#{user}\0#{secret}")) } raise SMTPAuthenticationError, res unless /\A2../ === res end