Mime UtilsParse Message Id(String) Method
Parse a Message-Id or Content-Id header value.
Definition
Namespace: MimeKit.Utils
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The addr-spec portion of the msg-id token.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static string? ParseMessageId(
string text
)Parameters
- text String
- The text to parse.
Return Value
StringThe addr-spec portion of the msg-id token.
Remarks
Parses the Message-Id (or Content-Id) value, returning the addr-spec portion of the msg-id token.
Exceptions
| ArgumentNullException | text is . |