MailBee.NET Objects 4.0

ImapBodyStructure.PartID Property

Gets the IMAP4 identifier of this MIME part.

public string PartID {get;}

Property Value

The string containing the identifier which can be used to request the body or header sections of this MIME part from the server.

Remarks

The developer can use this property to obtain the identifier of the part which can then be passed as one of elements of extraItems parameter of DownloadEnvelopes method. Once DownloadEnvelopes method succeeds, the developer can then obtain the requested data using GetEnvelopeItem method.

The exact syntax of the value to be passed as element of extraItems array depends on which portion of the MIME part the developer needs to obtain. Also, the name of the requested item to be passed to GetEnvelopeItem method may differ from the name passed as extraItems element. See GetEnvelopeItem method topic for more information.

See Also

ImapBodyStructure Class | MailBee.ImapMail Namespace