IMail |
public interface IMailSpool : IMailService, IDisposable, IEnumerable<MimeMessage>, IEnumerable
The IMailSpool type exposes the following members.
Name | Description | |
---|---|---|
AuthenticationMechanisms |
Get the authentication mechanisms supported by the message service.
(Inherited from IMailService) | |
CheckCertificateRevocation |
Get or set whether connecting via SSL/TLS should check certificate revocation.
(Inherited from IMailService) | |
ClientCertificates |
Get or set the client SSL certificates.
(Inherited from IMailService) | |
Count | Get the number of messages available in the message spool. | |
IsAuthenticated |
Get whether or not the client is currently authenticated with the mail server.
(Inherited from IMailService) | |
IsConnected |
Get whether or not the service is currently connected.
(Inherited from IMailService) | |
IsEncrypted |
Get whether or not the connection is encrypted (typically via SSL or TLS).
(Inherited from IMailService) | |
IsSecure |
Get whether or not the connection is secure (typically via SSL or TLS).
(Inherited from IMailService) | |
IsSigned |
Get whether or not the connection is signed (typically via SSL or TLS).
(Inherited from IMailService) | |
LocalEndPoint |
Get or set the local IP end point to use when connecting to a remote host.
(Inherited from IMailService) | |
ProxyClient |
Get or set the proxy client to use when connecting to a remote host.
(Inherited from IMailService) | |
ServerCertificateValidationCallback |
Get or set a callback function to validate the server certificate.
(Inherited from IMailService) | |
SslCipherAlgorithm |
Get the negotiated SSL or TLS cipher algorithm.
(Inherited from IMailService) | |
SslCipherStrength |
Get the negotiated SSL or TLS cipher algorithm strength.
(Inherited from IMailService) | |
SslHashAlgorithm |
Get the negotiated SSL or TLS hash algorithm.
(Inherited from IMailService) | |
SslHashStrength |
Get the negotiated SSL or TLS hash algorithm strength.
(Inherited from IMailService) | |
SslKeyExchangeAlgorithm |
Get the negotiated SSL or TLS key exchange algorithm.
(Inherited from IMailService) | |
SslKeyExchangeStrength |
Get the negotiated SSL or TLS key exchange algorithm strength.
(Inherited from IMailService) | |
SslProtocol |
Get the negotiated SSL or TLS protocol version.
(Inherited from IMailService) | |
SslProtocols |
Get or set the set of enabled SSL and/or TLS protocol versions that the client is allowed to use.
(Inherited from IMailService) | |
SupportsUids | Get whether or not the service supports referencing messages by UIDs. | |
SyncRoot |
Get an object that can be used to synchronize access to the folder.
(Inherited from IMailService) | |
Timeout |
Get or set the timeout for network streaming operations, in milliseconds.
(Inherited from IMailService) |
Name | Description | |
---|---|---|
Authenticate(ICredentials, CancellationToken) |
Authenticate using the supplied credentials.
(Inherited from IMailService) | |
Authenticate(SaslMechanism, CancellationToken) |
Authenticate using the specified SASL mechanism.
(Inherited from IMailService) | |
Authenticate(Encoding, ICredentials, CancellationToken) |
Authenticate using the supplied credentials.
(Inherited from IMailService) | |
Authenticate(String, String, CancellationToken) |
Authenticate using the specified user name and password.
(Inherited from IMailService) | |
Authenticate(Encoding, String, String, CancellationToken) |
Authenticate using the specified user name and password.
(Inherited from IMailService) | |
AuthenticateAsync(ICredentials, CancellationToken) |
Asynchronously authenticate using the supplied credentials.
(Inherited from IMailService) | |
AuthenticateAsync(SaslMechanism, CancellationToken) |
Asynchronously authenticate using the specified SASL mechanism.
(Inherited from IMailService) | |
AuthenticateAsync(Encoding, ICredentials, CancellationToken) |
Asynchronously authenticate using the supplied credentials.
(Inherited from IMailService) | |
AuthenticateAsync(String, String, CancellationToken) |
Asynchronously authenticate using the specified user name and password.
(Inherited from IMailService) | |
AuthenticateAsync(Encoding, String, String, CancellationToken) |
Asynchronously authenticate using the specified user name and password.
(Inherited from IMailService) | |
Connect(String, Int32, SecureSocketOptions, CancellationToken) |
Establish a connection to the specified mail server.
(Inherited from IMailService) | |
Connect(String, Int32, Boolean, CancellationToken) |
Establish a connection to the specified mail server.
(Inherited from IMailService) | |
Connect(Socket, String, Int32, SecureSocketOptions, CancellationToken) |
Establish a connection to the specified mail server using the provided socket.
(Inherited from IMailService) | |
Connect(Stream, String, Int32, SecureSocketOptions, CancellationToken) |
Establish a connection to the specified mail server using the provided stream.
(Inherited from IMailService) | |
ConnectAsync(String, Int32, SecureSocketOptions, CancellationToken) |
Asynchronously establish a connection to the specified mail server.
(Inherited from IMailService) | |
ConnectAsync(String, Int32, Boolean, CancellationToken) |
Asynchronously establish a connection to the specified mail server.
(Inherited from IMailService) | |
ConnectAsync(Socket, String, Int32, SecureSocketOptions, CancellationToken) |
Asynchronously establish a connection to the specified mail server using the provided socket.
(Inherited from IMailService) | |
ConnectAsync(Stream, String, Int32, SecureSocketOptions, CancellationToken) |
Asynchronously establish a connection to the specified mail server using the provided stream.
(Inherited from IMailService) | |
DeleteAllMessages | Mark all messages for deletion. | |
DeleteAllMessagesAsync | Asynchronously mark all messages for deletion. | |
DeleteMessage | Mark the specified message for deletion. | |
DeleteMessageAsync | Asynchronously mark the specified message for deletion. | |
DeleteMessages(IListInt32, CancellationToken) | Mark the specified messages for deletion. | |
DeleteMessages(Int32, Int32, CancellationToken) | Mark the specified range of messages for deletion. | |
DeleteMessagesAsync(IListInt32, CancellationToken) | Asynchronously mark the specified messages for deletion. | |
DeleteMessagesAsync(Int32, Int32, CancellationToken) | Asynchronously mark the specified range of messages for deletion. | |
Disconnect |
Disconnect the service.
(Inherited from IMailService) | |
DisconnectAsync |
Asynchronously disconnect the service.
(Inherited from IMailService) | |
Dispose | (Inherited from IDisposable) | |
GetEnumerator | (Inherited from IEnumerableMimeMessage) | |
GetMessage | Get the message at the specified index. | |
GetMessageAsync | Asynchronously get the message at the specified index. | |
GetMessageCount | Get the message count. | |
GetMessageCountAsync | Asynchronously get the message count. | |
GetMessageHeaders(IListInt32, CancellationToken) | Get the headers for the specified messages. | |
GetMessageHeaders(Int32, CancellationToken) | Get the headers for the specified message. | |
GetMessageHeaders(Int32, Int32, CancellationToken) | Get the headers of the messages within the specified range. | |
GetMessageHeadersAsync(IListInt32, CancellationToken) | Asynchronously get the headers for the specified messages. | |
GetMessageHeadersAsync(Int32, CancellationToken) | Asynchronously get the headers for the specified message. | |
GetMessageHeadersAsync(Int32, Int32, CancellationToken) | Get the headers of the messages within the specified range. | |
GetMessages(IListInt32, CancellationToken, ITransferProgress) | Get the messages at the specified indexes. | |
GetMessages(Int32, Int32, CancellationToken, ITransferProgress) | Get the messages within the specified range. | |
GetMessagesAsync(IListInt32, CancellationToken, ITransferProgress) | Asynchronously get the messages at the specified indexes. | |
GetMessagesAsync(Int32, Int32, CancellationToken, ITransferProgress) | Asynchronously get the messages within the specified range. | |
GetMessageSize | Get the size of the specified message, in bytes. | |
GetMessageSizeAsync | Asynchronously get the size of the specified message, in bytes. | |
GetMessageSizes | Get the sizes for all available messages, in bytes. | |
GetMessageSizesAsync | Asynchronously get the sizes for all available messages, in bytes. | |
GetMessageUid | Get the UID of the message at the specified index. | |
GetMessageUidAsync | Asynchronously get the UID of the message at the specified index. | |
GetMessageUids | Get the full list of available message UIDs. | |
GetMessageUidsAsync | Asynchronously get the full list of available message UIDs. | |
GetStream | Get the message or header stream at the specified index. | |
GetStreamAsync | Asynchronously get the message or header stream at the specified index. | |
GetStreams(IListInt32, Boolean, CancellationToken, ITransferProgress) | Get the message or header streams at the specified index. | |
GetStreams(Int32, Int32, Boolean, CancellationToken, ITransferProgress) | Get the message or header streams within the specified range. | |
GetStreamsAsync(IListInt32, Boolean, CancellationToken, ITransferProgress) | Asynchronously get the message or header streams at the specified indexes. | |
GetStreamsAsync(Int32, Int32, Boolean, CancellationToken, ITransferProgress) | Asynchronously get the message or header streams within the specified range. | |
NoOp |
Ping the message service to keep the connection alive.
(Inherited from IMailService) | |
NoOpAsync |
Asynchronously ping the mail server to keep the connection alive.
(Inherited from IMailService) | |
Reset | Reset the state of all messages marked for deletion. | |
ResetAsync | Asynchronously reset the state of all messages marked for deletion. |
Name | Description | |
---|---|---|
Authenticated |
Occurs when the client has been successfully authenticated.
(Inherited from IMailService) | |
Connected |
Occurs when the client has been successfully connected.
(Inherited from IMailService) | |
Disconnected |
Occurs when the client has been disconnected.
(Inherited from IMailService) |
An interface for retreiving messages from a spool.
Implemented by Pop3Client.