class Net::IMAP::BodyTypeMessage

Net::IMAP::BodyTypeMessage represents the body structures of messages and message parts, when Content-Type is message/rfc822 or message/global.

BodyTypeMessage contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following fields:

Public Instance Methods

body → BodyStructure click to toggle source

Returns a Net::IMAP::BodyStructure for the message’s body structure.

# File net-imap-0.4.16/lib/net/imap/response_data.rb, line 1021
      
envelope → Envelope click to toggle source

Returns a Net::IMAP::Envelope giving the envelope structure.

# File net-imap-0.4.16/lib/net/imap/response_data.rb, line 1015
      
media_subtype() click to toggle source

Obsolete: use subtype instead. Calling this will generate a warning message to stderr, then return the value of subtype.

# File net-imap-0.4.16/lib/net/imap/response_data.rb, line 1037
def media_subtype
  warn("media_subtype is obsolete, use subtype instead.\n", uplevel: 1)
  return subtype
end
multipart? → false click to toggle source

BodyTypeMessage is not used for multipart MIME parts.

# File net-imap-0.4.16/lib/net/imap/response_data.rb, line 1030
def multipart?
  return false
end