ImapBodyStructureGetAllParts Method
Returns this MIME part and all its subparts as a flat list.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public ImapBodyStructureCollection GetAllParts()

Return Value

Type: ImapBodyStructureCollection
A reference to the ImapBodyStructureCollection object containing body structures of the MIME part and all its sub-parts (including sub-sub-parts, etc).
Remarks
The developer can use this method to get flat representation of the MIME parts tree. This is useful when it's required to quickly iterate through all of the MIME parts (for instance, to count all the attachments of the mail message).
See Also