EnvelopeMessageNumber Property
Gets the ordinal number of the message in the folder.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public int MessageNumber { get; }

Property Value

Type: Int32
A positive integer value representing the ordinal index of the message in the IMAP4 folder.
Remarks
Unlike Uid values, ordinal message numbers can change due to deleting and expunging messages from the folder.
Note Note
MessageNumber value is guaranteed to be correct even if the envelope could not be parsed (IsValid is true). Thus, the developer can always locate the message whose envelope could not be parsed and which needs to be examined in some other way.
See Also