Gets the number of nested BODYSTRUCTURE items.
The number of nested BODYSTRUCTURE items.
BODYSTRUCTURE structures in an IMAP4 FETCH response may be nested. This is how the server returns information about multipart messages or multipart body parts. For example, if a messages contains multiple body parts, then the BODYSTRUCTURE structure for that message contains a nested BODYSTRUCTURE structure for each body part it contains.
The library parses nested BODYSTRUCTURE structures and
creates a corresponding tree of BodyStructureData instances.
The value of this property indicates the number of
BodyStructureData instances contained by this
BodyStructureData instance. Call the BodyPart method to get the
BodyStructureData instance at a specified index
position.
The value is nonzero only if the media type is "multipart/*" or "message/rfc822".
BodyStructureData Class | Hunny.Mail Namespace