Click or drag to resize
MimeKit

IMailFolderAppend Method (IAppendRequest, CancellationToken)

Append a message to the folder.

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

Parameters

request
Type: MailKitIAppendRequest
The append request.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: 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