Click or drag to resize
MimeKit

IMailFolderCopyTo(Int32, IMailFolder, CancellationToken) Method

Copy the specified message to the destination folder.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
void CopyTo(
	int index,
	IMailFolder destination,
	CancellationToken cancellationToken = default
)

Parameters

index  Int32
The index of the message to copy.
destination  IMailFolder
The destination folder.
cancellationToken  CancellationToken  (Optional)
The cancellation token.
Remarks
Copies the specified message to the destination folder.
See Also