Click or drag to resize
MimeKit

IMailFolderAppend(FormatOptions, IListIAppendRequest, CancellationToken) Method

Append multiple messages to the folder.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
IList<UniqueId> Append(
	FormatOptions options,
	IList<IAppendRequest> requests,
	CancellationToken cancellationToken = default
)

Parameters

options  FormatOptions
The formatting options.
requests  IListIAppendRequest
The append requests.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

IListUniqueId
The UIDs of the appended messages, if available; otherwise, an empty array.
Remarks
Appends multiple messages to the folder and returns the UniqueIds assigned to each of the messages.
See Also