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
Source
# File lib/net/imap/response_data.rb, line 1043
Returns a Net::IMAP::BodyStructure
for the message’s body structure.
Source
# File lib/net/imap/response_data.rb, line 1037
Returns a Net::IMAP::Envelope
giving the envelope structure.
Source
# File lib/net/imap/response_data.rb, line 1059 def media_subtype warn("media_subtype is obsolete, use subtype instead.\n", uplevel: 1) return subtype end
Obsolete: use subtype
instead. Calling this will generate a warning message to stderr
, then return the value of subtype
.
Source
# File lib/net/imap/response_data.rb, line 1052 def multipart? return false end
BodyTypeMessage
is not used for multipart MIME parts.