IMime MessageMessage Id Property
Get or set the message identifier.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The message identifier.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
string? MessageId { get; set; }Property Value
StringThe message identifier.
Remarks
The Message-Id is meant to be a globally unique identifier for a message.
GenerateMessageId can be used to generate this value.
Exceptions
| ArgumentNullException | value is . |
| ArgumentException | value is improperly formatted. |