Click or drag to resize
MimeKit

MimeUtilsGenerateMessageId(String) Method

Generate a Message-Id or Content-Id.

Namespace: MimeKit.Utils
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public static string GenerateMessageId(
	string domain
)

Parameters

domain  String
A domain to use.

Return Value

String
The message identifier.
Exceptions
ExceptionCondition
ArgumentNullExceptiondomain is null.
ArgumentExceptiondomain is invalid.
Remarks
Generates a new Message-Id (or Content-Id) using the supplied domain.
See Also