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.3.7/lib/net/imap/response_data.rb, line 1107
      
envelope → Envelope click to toggle source

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

# File net-imap-0.3.7/lib/net/imap/response_data.rb, line 1101
      
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.3.7/lib/net/imap/response_data.rb, line 1123
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.3.7/lib/net/imap/response_data.rb, line 1116
def multipart?
  return false
end