EnvelopeMessageID Property
Gets the value of "Message-ID" header of the message.

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

Property Value

Type: String
The string containing the value of "Message-ID" header of the message.

The server obtains this value from the header section of the message. This is not Unique-ID value (Uid) assigned by the server to each message in the folder. For instance, if the message is moved between folders, its UID changes while Message-ID does not.

Usually, Message-ID is assigned to the message when it's composed. Thus, Message-ID identifies the message content. For instance, if the same message is placed into the IMAP4 folder twice, both copies will have the same Message-ID (while their Uid values will be different).

See Also