Method | Description | |
---|---|---|
DeleteAllMessages ( |
Mark all messages for deletion. Messages marked for deletion are not actually deleted until the session is cleanly disconnected (see IMailService.Disconnect(bool, CancellationToken)). |
|
DeleteAllMessagesAsync ( |
Asynchronously mark all messages for deletion. Messages marked for deletion are not actually deleted until the session is cleanly disconnected (see IMailService.Disconnect(bool, CancellationToken)). |
|
DeleteMessage ( int index, |
Mark the specified message for deletion. Messages marked for deletion are not actually deleted until the session is cleanly disconnected (see MailService.Disconnect(bool, CancellationToken)). |
|
DeleteMessageAsync ( int index, |
Asynchronously mark the specified message for deletion. Messages marked for deletion are not actually deleted until the session is cleanly disconnected (see MailService.Disconnect(bool, CancellationToken)). |
|
DeleteMessages ( IList |
Mark the specified messages for deletion. Messages marked for deletion are not actually deleted until the session is cleanly disconnected (see MailService.Disconnect(bool, CancellationToken)). |
|
DeleteMessages ( int startIndex, int count, |
Mark the specified range of messages for deletion. Messages marked for deletion are not actually deleted until the session is cleanly disconnected (see MailService.Disconnect(bool, CancellationToken)). |
|
DeleteMessagesAsync ( IList |
Asynchronously mark the specified messages for deletion. Messages marked for deletion are not actually deleted until the session is cleanly disconnected (see MailService.Disconnect(bool, CancellationToken)). |
|
DeleteMessagesAsync ( int startIndex, int count, |
Asynchronously mark the specified range of messages for deletion. Messages marked for deletion are not actually deleted until the session is cleanly disconnected (see MailService.Disconnect(bool, CancellationToken)). |
|
GetEnumerator ( ) : IEnumerator |
Gets an enumerator for the messages in the folder. Gets an enumerator for the messages in the folder. |
|
GetMessage ( int index, |
Get the message at the specified index. Gets the message at the specified index. |
|
GetMessageAsync ( int index, |
Asynchronously get the message at the specified index. Asynchronously gets the message at the specified index. |
|
GetMessageHeaders ( int index, |
Get the headers for the specified message. Gets the headers for the specified message. |
|
GetMessageHeaders ( IList |
Get the headers for the specified messages. Gets the headers for the specified messages. |
|
GetMessageHeaders ( int startIndex, int count, |
Get the headers of the messages within the specified range. Gets the headers of the messages within the specified range. |
|
GetMessageHeadersAsync ( int index, |
Asynchronously get the headers for the specified message. Asynchronously gets the headers for the specified message. |
|
GetMessageHeadersAsync ( IList |
Asynchronously get the headers for the specified messages. Asynchronously gets the headers for the specified messages. |
|
GetMessageHeadersAsync ( int startIndex, int count, |
Get the headers of the messages within the specified range. Gets the headers of the messages within the specified range. |
|
GetMessageSize ( int index, |
Get the size of the specified message, in bytes. Gets the size of the specified message, in bytes. |
|
GetMessageSizeAsync ( int index, |
Asynchronously get the size of the specified message, in bytes. Asynchronously gets the size of the specified message, in bytes. |
|
GetMessageSizes ( |
Get the sizes for all available messages, in bytes. Gets the sizes for all available messages, in bytes. |
|
GetMessageSizesAsync ( |
Asynchronously get the sizes for all available messages, in bytes. Asynchronously gets the sizes for all available messages, in bytes. |
|
GetMessageUid ( int index, |
Get the UID of the message at the specified index. Not all servers support UIDs, so you should first check the SupportsUids property. |
|
GetMessageUidAsync ( int index, |
Asynchronously get the UID of the message at the specified index. Not all servers support UIDs, so you should first check the SupportsUids property. |
|
GetMessageUids ( |
Get the full list of available message UIDs. Not all servers support UIDs, so you should first check the SupportsUids property. |
|
GetMessageUidsAsync ( |
Get the full list of available message UIDs. Not all servers support UIDs, so you should first check the SupportsUids property. |
|
GetMessages ( IList |
Get the messages at the specified indexes. Get the messages at the specified indexes. |
|
GetMessages ( int startIndex, int count, |
Get the messages within the specified range. Gets the messages within the specified range. |
|
GetMessagesAsync ( IList |
Asynchronously get the messages at the specified indexes. Asynchronously get the messages at the specified indexes. |
|
GetMessagesAsync ( int startIndex, int count, |
Asynchronously get the messages within the specified range. Asynchronously gets the messages within the specified range. |
|
GetStream ( int index, bool headersOnly = false, |
Get the message or header stream at the specified index. Gets the message or header stream at the specified index. |
|
GetStreamAsync ( int index, bool headersOnly = false, |
Asynchronously get the message or header stream at the specified index. Asynchronously gets the message or header stream at the specified index. |
|
GetStreams ( IList |
Get the message or header streams at the specified indexes. Get the message or header streams at the specified indexes. If the mail server supports pipelining, this method will likely be more efficient than using GetStream(int,bool,CancellationToken,ITransferProgress) for each message because it will batch the commands to reduce latency. |
|
GetStreams ( int startIndex, int count, bool headersOnly = false, |
Get the message or header streams within the specified range. Gets the message or header streams within the specified range. If the mail server supports pipelining, this method will likely be more efficient than using GetStream(int,bool,CancellationToken,ITransferProgress) for each message because it will batch the commands to reduce latency. |
|
GetStreamsAsync ( IList |
Asynchronously get the message or header streams at the specified indexes. Asynchronously get the message or header streams at the specified indexes. |
|
GetStreamsAsync ( int startIndex, int count, bool headersOnly = false, |
Asynchronously get the message or header streams within the specified range. Asynchronously gets the message or header streams within the specified range. |
|
Reset ( |
Reset the state of all messages marked for deletion. Messages marked for deletion are not actually deleted until the session is cleanly disconnected (see IMailService.Disconnect(bool, CancellationToken)). |
|
ResetAsync ( |
Asynchronously reset the state of all messages marked for deletion. Messages marked for deletion are not actually deleted until the session is cleanly disconnected (see IMailService.Disconnect(bool, CancellationToken)). |
Method | Description | |
---|---|---|
MailSpool ( IProtocolLogger protocolLogger ) : System |
Initializes a new instance of the MailKit.MailSpool class. Initializes a new instance of the MailKit.MailSpool class. |
Method | Description | |
---|---|---|
DeleteMessage ( string uid, |
||
DeleteMessageAsync ( string uid, |
||
DeleteMessages ( IList |
||
DeleteMessagesAsync ( IList |
||
GetMessage ( string uid, |
||
GetMessageAsync ( string uid, |
||
GetMessageCount ( |
||
GetMessageCountAsync ( |
||
GetMessageHeaders ( string uid, |
||
GetMessageHeaders ( IList |
||
GetMessageHeadersAsync ( string uid, |
||
GetMessageHeadersAsync ( IList |
||
GetMessageSize ( string uid, |
||
GetMessageSizeAsync ( string uid, |
||
GetMessages ( IList |
||
GetMessagesAsync ( IList |
||
IEnumerable ( ) : IEnumerator |
Gets an enumerator for the messages in the folder. Gets an enumerator for the messages in the folder. |
public abstract DeleteAllMessages ( |
||
cancellationToken | The cancellation token. | |
return | void |
public DeleteAllMessagesAsync ( |
||
cancellationToken | The cancellation token. | |
return | Task |
public abstract DeleteMessage ( int index, |
||
index | int | The index of the message. |
cancellationToken | The cancellation token. | |
return | void |
public DeleteMessageAsync ( int index, |
||
index | int | The index of the message. |
cancellationToken | The cancellation token. | |
return | Task |
public abstract DeleteMessages ( IList |
||
indexes | IList |
The indexes of the messages. |
cancellationToken | The cancellation token. | |
return | void |
public abstract DeleteMessages ( int startIndex, int count, |
||
startIndex | int | The index of the first message to mark for deletion. |
count | int | The number of messages to mark for deletion. |
cancellationToken | The cancellation token. | |
return | void |
public DeleteMessagesAsync ( IList |
||
indexes | IList |
The indexes of the messages. |
cancellationToken | The cancellation token. | |
return | Task |
public DeleteMessagesAsync ( int startIndex, int count, |
||
startIndex | int | The index of the first message to mark for deletion. |
count | int | The number of messages to mark for deletion. |
cancellationToken | The cancellation token. | |
return | Task |
public abstract GetEnumerator ( ) : IEnumerator |
||
return | IEnumerator |
public abstract GetMessage ( int index, |
||
index | int | The index of the message. |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
return |
public GetMessageAsync ( int index, |
||
index | int | The index of the message. |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
return | Task |
public abstract GetMessageHeaders ( int index, |
||
index | int | The index of the message. |
cancellationToken | The cancellation token. | |
return | HeaderList |
public abstract GetMessageHeaders ( IList |
||
indexes | IList |
The indexes of the messages. |
cancellationToken | The cancellation token. | |
return | IList |
public abstract GetMessageHeaders ( int startIndex, int count, |
||
startIndex | int | The index of the first message to get. |
count | int | The number of messages to get. |
cancellationToken | The cancellation token. | |
return | IList |
public GetMessageHeadersAsync ( int index, |
||
index | int | The index of the message. |
cancellationToken | The cancellation token. | |
return | Task |
public GetMessageHeadersAsync ( IList |
||
indexes | IList |
The indexes of the messages. |
cancellationToken | The cancellation token. | |
return | Task |
public GetMessageHeadersAsync ( int startIndex, int count, |
||
startIndex | int | The index of the first message to get. |
count | int | The number of messages to get. |
cancellationToken | The cancellation token. | |
return | Task |
public abstract GetMessageSize ( int index, |
||
index | int | The index of the message. |
cancellationToken | The cancellation token. | |
return | int |
public GetMessageSizeAsync ( int index, |
||
index | int | The index of the message. |
cancellationToken | The cancellation token. | |
return | Task |
public abstract GetMessageSizes ( |
||
cancellationToken | The cancellation token. | |
return | IList |
public GetMessageSizesAsync ( |
||
cancellationToken | The cancellation token. | |
return | Task |
public abstract GetMessageUid ( int index, |
||
index | int | The message index. |
cancellationToken | The cancellation token. | |
return | string |
public GetMessageUidAsync ( int index, |
||
index | int | The message index. |
cancellationToken | The cancellation token. | |
return | Task |
public abstract GetMessageUids ( |
||
cancellationToken | The cancellation token. | |
return | IList |
public GetMessageUidsAsync ( |
||
cancellationToken | The cancellation token. | |
return | Task |
public abstract GetMessages ( IList |
||
indexes | IList |
The indexes of the messages. |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
return | IList |
public abstract GetMessages ( int startIndex, int count, |
||
startIndex | int | The index of the first message to get. |
count | int | The number of messages to get. |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
return | IList |
public GetMessagesAsync ( IList |
||
indexes | IList |
The indexes of the messages. |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
return | Task |
public GetMessagesAsync ( int startIndex, int count, |
||
startIndex | int | The index of the first message to get. |
count | int | The number of messages to get. |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
return | Task |
public abstract GetStream ( int index, bool headersOnly = false, |
||
index | int | The index of the message. |
headersOnly | bool | |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
return | System.Stream |
public GetStreamAsync ( int index, bool headersOnly = false, |
||
index | int | The index of the message. |
headersOnly | bool | |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
return | Task |
public abstract GetStreams ( IList |
||
indexes | IList |
The indexes of the messages. |
headersOnly | bool | |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
return | IList |
public abstract GetStreams ( int startIndex, int count, bool headersOnly = false, |
||
startIndex | int | The index of the first stream to get. |
count | int | The number of streams to get. |
headersOnly | bool | |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
return | IList |
public GetStreamsAsync ( IList |
||
indexes | IList |
The indexes of the messages. |
headersOnly | bool | |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
return | Task |
public GetStreamsAsync ( int startIndex, int count, bool headersOnly = false, |
||
startIndex | int | The index of the first stream to get. |
count | int | The number of streams to get. |
headersOnly | bool | |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
return | Task |
protected MailSpool ( IProtocolLogger protocolLogger ) : System | ||
protocolLogger | IProtocolLogger | The protocol logger. |
return | System |
public abstract Reset ( |
||
cancellationToken | The cancellation token. | |
return | void |
public ResetAsync ( |
||
cancellationToken | The cancellation token. | |
return | Task |