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

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 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