Click or drag to resize
MimeKit

IMailFolderMoveTo(IListInt32, IMailFolder, CancellationToken) Method

Move the specified messages to the destination folder.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
void MoveTo(
	IList<int> indexes,
	IMailFolder destination,
	CancellationToken cancellationToken = default
)

Parameters

indexes  IListInt32
The indexes of the messages to move.
destination  IMailFolder
The destination folder.
cancellationToken  CancellationToken  (Optional)
The cancellation token.
Remarks
Moves the specified messages to the destination folder.
See Also