Click or drag to resize
MimeKit

MimeUtilsParseMessageId(String) Method

Parse a Message-Id or Content-Id header value.

Namespace: MimeKit.Utils
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
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.
Exceptions
ExceptionCondition
ArgumentNullExceptiontext is null.
Remarks
Parses the Message-Id (or Content-Id) value, returning the addr-spec portion of the msg-id token.
See Also