class Net::SMTP

def starttls_auto?

true if this object uses STARTTLS when server advertises STARTTLS.
def starttls_auto?
  @starttls == :auto
end