IAppendRequestOnStarted Method

Called when the message 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
)

Parameters

folder  IMailFolder
The folder that the message is being appended to.

Remarks

Called immediately before the command that will append the message is sent to the server.

If this method is called but OnCompleted(IMailFolder, NullableUniqueId) is not called and the operation fails with an exception other than a CommandException, then it is unknown whether or not the server appended the message.

See Also