Object
# File net/smtp.rb, line 1009
def capabilities
return {} unless @string[3, 1] == '-'
h = {}
@string.lines.drop(1).each do |line|
k, *v = line[4..-1].chomp.split(nil)
h[k] = v
end
h
end
# File net/smtp.rb, line 997
def continue?
status_type_char() == '3'
end
# File net/smtp.rb, line 1005
def cram_md5_challenge
@string.split(/ /)[1].unpack('m')[0]
end
# File net/smtp.rb, line 1019
def exception_class
case @status
when /\A4/ then SMTPServerBusy
when /\A50/ then SMTPSyntaxError
when /\A53/ then SMTPAuthenticationError
when /\A5/ then SMTPFatalError
else SMTPUnknownError
end
end