MailBee.NET Objects 3.1

MailMessage.PartIndex Property

Gets the index of the current part in the sequence of parts of a composite message.

public int PartIndex {get;}

Property Value

The index of the current sub-message in the sequence of sub-messages of a composite message, which is split into several smaller ones. If the message is not a part of the composite message, the return value is 1.

Remarks

The developer can use the PartCount property to examine whatever mail message is composite or not and the IsEntire property to determine if a message was received completely.

Example

The example is available in IsEntire property overview.

See Also

MailMessage Class | MailBee.Mime Namespace | PartCount | IsEntire | AppendPartialMessage