Module: Net::IMAP::BodyStructure
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/net/imap/response_data.rb |
Overview
BodyStructure
is included by all of the structs that can be returned from a "BODYSTRUCTURE"
or "BODY"
FetchData#attr value. Although these classes don’t share a base class, this module can be used to pattern match all of them.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE
fields, and also Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
Classes that include BodyStructure
- BodyTypeBasic
-
Represents any message parts that are not handled by BodyTypeText, BodyTypeMessage, or BodyTypeMultipart.
- BodyTypeText
-
Used by
text/*
parts. Contains all of the BodyTypeBasic fields. - BodyTypeMessage
-
Used by
message/rfc822
andmessage/global
parts. Contains all of the BodyTypeBasic fields. Othermessage/*
types should use BodyTypeBasic. - BodyTypeMultipart
-
for
multipart/*
parts