MailKit Documentation
MailKit Documentation
API Reference
MailKit
IMailSpool Interface
IMailSpool Methods
DeleteAllMessages Method
DeleteAllMessagesAsync Method
DeleteMessage Method
DeleteMessageAsync Method
DeleteMessages Method
DeleteMessagesAsync Method
GetMessage Method
GetMessageAsync Method
GetMessageCount Method
GetMessageCountAsync Method
GetMessageHeaders Method
GetMessageHeadersAsync Method
GetMessages Method
GetMessagesAsync Method
GetMessageSize Method
GetMessageSizeAsync Method
GetMessageSizes Method
GetMessageSizesAsync Method
GetMessageUid Method
GetMessageUidAsync Method
GetMessageUids Method
GetMessageUidsAsync Method
GetStream Method
GetStreamAsync Method
GetStreams Method
GetStreamsAsync Method
Reset Method
ResetAsync Method
IMail
Spool
Reset Method
Reset the state of all messages marked for deletion.
Namespace:
MailKit
Assembly:
MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
Copy
void
Reset
(
CancellationToken
cancellationToken
=
default
)
Parameters
cancellationToken
CancellationToken
(Optional)
The cancellation token.
Remarks
Messages marked for deletion are not actually deleted until the session is cleanly disconnected (see
Disconnect(Boolean, CancellationToken)
).
See Also
Reference
IMailSpool Interface
MailKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast