MailBee.NET Objects 4.0

ImapBodyStructure.Size Property

Gets the length of encoded body of the MIME part.

public int Size {get;}

Property Value

The integer value containing the length of encoded body of the MIME part, or 0 if the MIME part is multipart and thus does not have its own body, or -1 if the body size parameter value in the IMAP4 response could not be parsed.

Remarks

This is the size of the MIME part body in its encoded state. For instance, if the body is base64 encoded, the encoded data length is approximately 33% larger than the actual data length.

See Also

ImapBodyStructure Class | MailBee.ImapMail Namespace