class Net::SMTP::AuthPlain

Public Instance Methods

auth(user, secret) click to toggle source
# File net-smtp-0.4.0/lib/net/smtp/auth_plain.rb, line 5
def auth(user, secret)
  finish('AUTH PLAIN ' + base64_encode("\0#{user}\0#{secret}"))
end