Interface IAsyncPop3Client

IAsyncPop3Client interface

Allows applications to access and manipulate messages by using the Post Office Protocol Version 3 (POP3).

public interface IAsyncPop3Client : IDisposable

Methods

NameDescription
CommitDeletesAsync(int, IConnection, CancellationToken)Commit the deletions
DeleteMessageAsync(int, IConnection, CancellationToken)Deletes the message
DeleteMessageAsync(string, IConnection, CancellationToken)Deletes the message
DeleteMessagesAsync(IConnection, CancellationToken)Deletes all messages
FetchMessageAsync(int, IConnection, CancellationToken)Fetches the message
FetchMessageAsync(string, IConnection, CancellationToken)Fetches the message
FetchMessagesAsync(IEnumerable<int>, IConnection, CancellationToken)Fetches the messages asynchronously
FetchMessagesAsync(IEnumerable<string>, IConnection, CancellationToken)Fetches the messages asynchronously
GetMailboxInfoAsync(bool, IConnection, CancellationToken)Gets the mailbox status info
GetMailboxSizeAsync(IConnection, CancellationToken)Gets the size of the mailbox
GetMessageCountAsync(bool, IConnection, CancellationToken)Gets the message count
GetMessageHeadersAsync(int, IConnection, CancellationToken)Gets the message headers
GetMessageHeadersAsync(string, IConnection, CancellationToken)Gets the message headers
GetMessageInfoAsync(int, Pop3ListFields, IConnection, CancellationToken)Gets the information for that message
GetMessageInfoAsync(string, Pop3ListFields, IConnection, CancellationToken)Gets the information for that message
GetMessageSizeAsync(int, IConnection, CancellationToken)Gets the size of the message
GetMessageSizeAsync(string, IConnection, CancellationToken)Gets the size of the message
GetMessageUniqueIdAsync(int, IConnection, CancellationToken)Gets the message unique id
ListMessagesAsync(Pop3ListFields, bool, MailQuery, IConnection, CancellationToken)Lists the messages.
LoadMessageInfoListAsync(Pop3LoadMessageInfoList)Loads list of Pop3MessageInfo
NoopAsync(IConnection, CancellationToken)‘No operation’ command
SaveMessageAsync(Pop3SaveMessage)Fetches and save the message as a stream
UndeleteMessagesAsync(IConnection, CancellationToken)Undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
ValidateCredentialsAsync(IConnection, CancellationToken)Executes credentials validation

See Also