ICopyRequestOnStarted(IMailFolder, IListInt32) Method

Called when a subset of the messages is about to be sent to the server.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
void OnStarted(
	IMailFolder folder,
	IList<int> indexes
)

Parameters

folder  IMailFolder
The source folder.
indexes  IListInt32
The indexes of the messages that are about to be copied.

Remarks

Called immediately before a command that will copy the specified subset of messages is sent to the server.

If this method is called but OnCompleted(IMailFolder, IListInt32) is not called for the same subset of messages and the operation fails with an exception other than a CommandException, then it is unknown whether or not the server copied the messages.

See Also