IMail |
void Expunge( CancellationToken cancellationToken = default )
Expunges the folder, permanently removing all messages marked for deletion.
Note |
---|
Normally, an MessageExpunged event will be emitted for each message that is expunged. However, if the mail store supports the quick resynchronization feature and it has been enabled via the EnableQuickResync(CancellationToken) method, then the MessagesVanished event will be emitted rather than the MessageExpunged event. |