def encoded
      ready_to_send!
      buffer = header.encoded
      buffer << "\r\n"
      buffer << body.encoded(content_transfer_encoding)
      buffer
    end
def encoded
      ready_to_send!
      buffer = header.encoded
      buffer << "\r\n"
      buffer << body.encoded(content_transfer_encoding)
      buffer
    end
Outputs an encoded string representation of the mail message including
 all headers, attachments, etc.  This is an encoded email in US-ASCII,
 so it is able to be directly sent to an email server.