class Net::IMAP::BodyTypeBasic
Net::IMAP::BodyTypeBasic represents basic body structures of messages and message parts, unless they have a Content-Type that is handled by BodyTypeText, BodyTypeMessage, or BodyTypeMultipart.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE fields, and also Message envelope and body structure at Net::IMAP for other relevant RFCs.
Public Instance Methods
Source
# File lib/net/imap/response_data.rb, line 907
Source
# File lib/net/imap/response_data.rb, line 915
Source
# File lib/net/imap/response_data.rb, line 944
Returns a ContentDisposition object giving the content disposition, as defined by [DISPOSITION].
Source
# File lib/net/imap/response_data.rb, line 923
Source
# File lib/net/imap/response_data.rb, line 969
Returns extension data. The BODYSTRUCTURE fetch attribute contains extension data, but BODY does not.
Source
# File lib/net/imap/response_data.rb, line 952
Returns a string or an array of strings giving the body language value as defined in [LANGUAGE-TAGS].
Source
# File lib/net/imap/response_data.rb, line 937
Returns a string giving the body MD5 value as defined in [MD5].
Source
# File lib/net/imap/response_data.rb, line 993 def media_subtype warn("media_subtype is obsolete, use subtype instead.\n", uplevel: 1, category: :deprecated) return subtype end
- Obsolete
Use
subtypeinstead. Calling this will generate a warning message tostderr, then return the value ofsubtype.
Source
# File lib/net/imap/response_data.rb, line 886
The top-level media type as defined in [MIME-IMB].
Source
# File lib/net/imap/response_data.rb, line 979 def multipart? return false end
BodyTypeBasic is not used for multipart MIME parts.
Source
# File lib/net/imap/response_data.rb, line 900
Returns a hash that represents parameters as defined in [MIME-IMB].
Source
# File lib/net/imap/response_data.rb, line 931
Returns a number giving the size of the body in octets.
Source
# File lib/net/imap/response_data.rb, line 893
The media subtype name as defined in [MIME-IMB].