ImapBodyStructurePartID Property
Gets the IMAP4 identifier of this MIME part.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public string PartID { get; }

Property Value

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

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(String, Boolean, EnvelopeParts, Int32, String, String) method. Once DownloadEnvelopes(String, Boolean, EnvelopeParts, Int32, String, String) method succeeds, the developer can then obtain the requested data using GetEnvelopeItem(String, Boolean) 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(String, Boolean) method may differ from the name passed as extraItems element. See GetEnvelopeItem(String, Boolean) method topic for more information.

See Also