IFetchRequest Interface

A request for fetching various properties of a message.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public interface IFetchRequest

Remarks

A request for fetching various properties of a message.

Properties

ChangedSince Get or set the mod-sequence value that indicates the last known state of the messages being requested.
Headers Get the set of headers that will be fetched.
Items Get or set the message summary items to fetch.
PartialRange Get or set the partial range of messages to fetch.

Methods

OnCompleted(IMailFolder, IListUniqueId) Called when the server has successfully fetched a subset of the messages.
OnCompleted(IMailFolder, IListInt32) Called when the server has successfully fetched a subset of the messages.
OnProgress Called when the server reports the progress of a command.
OnStarted(IMailFolder, IListUniqueId) Called when a subset of the messages is about to be fetched.
OnStarted(IMailFolder, IListInt32) Called when a subset of the messages is about to be fetched.

See Also

Reference