MimeUtilsParseMessageId(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
C#
public static string? ParseMessageId(
	string text
)

Parameters

text  String
The text to parse.

Return Value

String
The 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

See Also