Click or drag to resize
MimeKit

IMailFolderAppend(IAppendRequest, CancellationToken) Method

Append a message to the folder.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
UniqueId? Append(
	IAppendRequest request,
	CancellationToken cancellationToken = default
)

Parameters

request  IAppendRequest
The append request.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

NullableUniqueId
The UID of the appended message, if available; otherwise, null.
Remarks
Appends a message to the folder and returns the UniqueId assigned to the message.
See Also