Mail FolderOn Message Summary Fetched Method
Definition
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
protected virtual void OnMessageSummaryFetched(
IMessageSummary message
)Parameters
- message IMessageSummary
- The message summary.
Remarks
Raises the message summary fetched event.
When multiple message summaries are being fetched from a remote folder, it is possible that the connection will drop or some other exception will occur, causing the Fetch method to fail and lose all of the data that has been downloaded up to that point, requiring the client to request the same set of message summaries all over again after it reconnects. This is obviously inefficient. To alleviate this potential problem, this event will be emitted as soon as the IMailFolder successfully parses each untagged FETCH response from the server, allowing the client to commit this data immediately to its local cache.