Class Pop3Client

Pop3Client class

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

public sealed class Pop3Client : EmailClient, IAsyncPop3Client

Constructors

NameDescription
Pop3Client()Initializes a new instance of the Pop3Client class
Pop3Client(string)Initializes a new instance of the Pop3Client class
Pop3Client(string, int)Initializes a new instance of the Pop3Client class
Pop3Client(string, SecurityOptions)Initializes a new instance of the Pop3Client class
Pop3Client(string, int, SecurityOptions)Initializes a new instance of the Pop3Client class
Pop3Client(string, string, string)Initializes a new instance of the Pop3Client class
Pop3Client(string, int, string, string)Initializes a new instance of the Pop3Client class
Pop3Client(string, string, string, SecurityOptions)Initializes a new instance of the Pop3Client class
Pop3Client(string, int, string, ITokenProvider, SecurityOptions)Initializes a new instance of the Pop3Client class
Pop3Client(string, int, string, string, RemoteCertificateValidationCallback)Initializes a new instance of the Pop3Client class
Pop3Client(string, int, string, string, SecurityOptions)Initializes a new instance of the Pop3Client class
Pop3Client(string, int, string, string, bool, SecurityOptions)Initializes a new instance of the Pop3Client class
Pop3Client(string, int, string, string, RemoteCertificateValidationCallback, SecurityOptions)Initializes a new instance of the Pop3Client class

Properties

NameDescription
virtual AccessToken { get; set; }Gets or sets the access token.
AllowedAuthentication { get; set; }Gets or sets enumeration of allowed by user authentication types
virtual ClientCertificates { get; }Contains collection of clients certificates
virtual ConnectionAsgmtMode { get; set; }Gets or sets value which defines mode of connection allocation in multiple threads environment There are folowing connection types: - Main connection is connection created and disposed together with mail client.It can’t be created or disposed manually. - Default connection is connection default for some thread. If default connection exists and ConnectionAsgmtMode allow, all methods of email client executed in this thread will be implicitly use this connection. Only one default connection can be exist per thread. It can be created manually or automatically. It depends on EmailClient.ConnectionAsgmtMode property. These connections can be created manually with EmailClient.CreateConnection(createAsDefaultConnection = true) method. If default connection does not used(depends on connection allocation mode), main connection used implicitly instead of it. - Independent connections are connections that are not linked to threads.They can be created manually and has to be used explicitly as method parameter. These connections can be created manually with EmailClient.CreateConnection() method or EmailClient.CreateConnection(createAsDefaultConnection = false) method. There are folowing connection allocation types: - ConnectionAsgmtType.UseMainOrDefault This mode uses by default in email clients. Email client uses main connection for all operations from multiple threads if default connection hasn’t been created, or connection hasnt been passed as method parameter explicitly. Main connection is connection which is created in the same time like email client. User can create default connections for threads with CreateConnection method. If default connection for thread is created, it’s used implicitly for all methods of email client which are invoked in this thread. If default connection for thread is not created, main connection is used for all methods of email client which are invoked in this thread. User also can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. Default connection can be only one per thread. Please note default connections works correctly if user uses Thread objects for multitasking programming. If user uses ConnectionPool or uses Task objects for multitasking programming this mode may lead to wrong behaviour of a programm. To avoid this problem user has to manually dispose default conection (if he uses it) in the end of the code which executes in the thread. - ConnectionAsgmtType.UseMain Email client uses main connection for all operations from multiple threads. Main connection is connection which is created in the same time like email client. User cann’t create default connections. User can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. - ConnectionAsgmtType.UseDefault Email client uses implicitly only default connections for all operations from multiple threads. Main connection is not used in this mode. If default connection hasn’t been created for some thread (first invocation of email client method), email client creates default connection implicitly for thread before first operation is executed. User can’t create default connections for threads with CreateConnection method because they are created automatically. When default connection for thread is created, it’s used implicitly for all methods of email client which are invoked in this thread.read. User also can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. Default connection can be only one per thread. Please note default connections works correctly if user uses Thread objects for multitasking programming. If user uses ConnectionPool or uses Task objects for multitasking programming this mode may lead to wrong behaviour of a programm. To avoid this problem user has to manually dispose default conection in the end of the code which executes in the thread.
virtual ConnectionCheckupPeriod { get; set; }Period of connection checking up in milliseconds. Default value is 5 min.
virtual ConnectionsQuantity { get; set; }Gets or sets quantity of connections in multy-connection mode
ConnectionState { get; }Gets the current state of the connection.
virtual CurrentConnection { get; }Gets current connection according to ConnectionAsgmtMode option
override DefaultPort { get; }Gets default port for client
EnableLogger { get; set; }Gets or sets value which allows enable/disable logger
GreetingTimeout { get; set; }Gets or sets the greeting timeout that is used when establishing a connection. Please note, greeting timeout can’t be infinite. Email clients may execute enough long operations. To limit the time of operations users have to use Timeout property. Values for this property have to have long intervals to not prevent long-time operations. But in some cases, if EmailClient will use only Timeout property connection establishing may take a long time. For instance, the mail client may use the automatic mode to connection establishing. In this mode, the email client goes through all possible connection parameters until the connection is established. SMTP, IMAP, and POP3 servers in case of correct connection establishing send greeting string to the client. Servers may use implicit or explicit (START TLS) SSL/TLS connection initiation. If connection mode is mismatched (for instance, the server waits for an implicit SSL connection but the client tries to establish a non-secured or explicit SSL connection), the server won’t send a greeting string. In this case, the user will wait a long time until the timeout reaches a greeting string, and the client goes to the next connection option. To avoid this problem, the GreetingTimeout property has been introduced. This property allows you to set the timeout for greeting string, and reduce the time of automatic connection establishment.
virtual Host { get; set; }Gets or sets the host name.
LogFileName { get; set; }Gets or sets log file name
virtual Password { get; set; }Gets or sets the password. Password limitations are defined by server implementation, which client connects.
virtual Port { get; set; }Gets or sets the port.
virtual Proxy { get; set; }Gets or sets proxy for the client
virtual SecurityOptions { get; set; }Security mode for a mail client
SupportedAuthentication { get; }Gets enumeration of supported by server authentication types
virtual SupportedEncryption { get; set; }Defines the versions of SSL/TLS encryption protocols to be used. PLEASE PAY YOUR ATTENTION, you may set only those versions of protocol, which are supported by .net framework. IF SOME VERSIONS OF PROTOCOL ARE NOT SUPPORTED BY YOUR CURRENT VERSION OF .NET FRAMEWORK, THEY WILL BE IGNORED AND SKIPPED. IT MAY LEAD TO DOWNGRADE TLS SECURITY LEVEL. IN THIS CASE EXCEPTION WON’T BE GENERATED!!! Please, see EncryptionProtocols documentation for more details. Please use SetSupportedEncryptionUnsafe method if you want to set the encryption protocols without any compatibility checks. Default value is: Tls | Tls11 | Tls12 | Tls13 (in case if your current version of .net framework supports these versions of TLS)
Timeout { get; set; }Gets or sets the timeout for mail operations
TokenProvider { get; set; }Gets or sets TokenProvider allowing to retrieve access token.
virtual UseAuthentication { get; set; }Indicates whether authentication is used.
UseDateInLogFileName { get; set; }Gets or sets value which indicates if date has to be used in log file name.
virtual UseDefaultCredentials { get; set; }Gets or sets a Boolean value that controls whether the DefaultCredentials are sent with requests. This option is used with NTLM authentication ONLY!
virtual UseMultiConnection { get; set; }Gets or sets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing.
virtual UsePipelining { get; set; }Gets or sets object which indicates whether the pipelining mode is enabled.
virtual Username { get; set; }Gets or sets the username.

Methods

NameDescription
CommitDeletes()Commit the deletions
CommitDeletes(IConnection)Commit the deletions
CommitDeletes(int)Commit the deletions
CommitDeletesAsync()Commit the deletions
CommitDeletesAsync(CancellationToken)Commit the deletions
CommitDeletesAsync(IConnection)Commit the deletions
CommitDeletesAsync(int)Commit the deletions
CommitDeletesAsync(IConnection, CancellationToken)Commit the deletions
CommitDeletesAsync(int, CancellationToken)Commit the deletions
virtual CreateConnection()Creates new independent connection for operations not linked to threads (not default connection). Invocation of this method is similar to invocation of CreateConnection(createAsDefaultConnection = false) Please see more in documentation for EmailClient.ConnectionAsgmtMode property.
virtual CreateConnection(bool)Creates new (default or independent) connection for operations. Please see more in documentation for EmailClient.ConnectionAsgmtMode property.
DeleteMessage(int)Deletes the message
DeleteMessage(string)Deletes the message
DeleteMessage(IConnection, int)Deletes the message
DeleteMessage(IConnection, string)Deletes the message
DeleteMessageAsync(int)Deletes the message
DeleteMessageAsync(string)Deletes the message
DeleteMessageAsync(IConnection, int)Deletes the message
DeleteMessageAsync(IConnection, string)Deletes the message
DeleteMessageAsync(int, CancellationToken)Deletes the message
DeleteMessageAsync(string, CancellationToken)Deletes the message
DeleteMessageAsync(IConnection, int, CancellationToken)Deletes the message
DeleteMessageAsync(IConnection, string, CancellationToken)Deletes the message
DeleteMessages()Deletes all messages
DeleteMessages(IConnection)Deletes all messages
DeleteMessagesAsync()Deletes all messages
DeleteMessagesAsync(CancellationToken)Deletes all messages
DeleteMessagesAsync(IConnection)Deletes all messages
DeleteMessagesAsync(IConnection, CancellationToken)Deletes all messages
virtual Dispose()Finalizes all operations with a server.
FetchMessage(int)Fetches the message
FetchMessage(string)Fetches the message
FetchMessage(IConnection, int)Fetches the message
FetchMessage(IConnection, string)Fetches the message
FetchMessageAsync(int)Fetches the message
FetchMessageAsync(string)Fetches the message
FetchMessageAsync(IConnection, int)Fetches the message
FetchMessageAsync(IConnection, string)Fetches the message
FetchMessageAsync(int, CancellationToken)Fetches the message
FetchMessageAsync(string, CancellationToken)Fetches the message
FetchMessageAsync(IConnection, int, CancellationToken)Fetches the message
FetchMessageAsync(IConnection, string, CancellationToken)Fetches the message
FetchMessages(IEnumerable<int>)Fetches the messages
FetchMessages(IEnumerable<string>)Fetches the messages
FetchMessages(IConnection, IEnumerable<int>)Fetches the messages
FetchMessages(IConnection, IEnumerable<string>)Fetches the messages
FetchMessagesAsync(IEnumerable<int>)Fetches the messages asynchronously
FetchMessagesAsync(IEnumerable<string>)Fetches the messages asynchronously
FetchMessagesAsync(IConnection, IEnumerable<int>)Fetches the messages asynchronously
FetchMessagesAsync(IConnection, IEnumerable<string>)Fetches the messages asynchronously
FetchMessagesAsync(IEnumerable<int>, CancellationToken)Fetches the messages asynchronously
FetchMessagesAsync(IEnumerable<string>, CancellationToken)Fetches the messages asynchronously
FetchMessagesAsync(IConnection, IEnumerable<int>, CancellationToken)Fetches the messages asynchronously
FetchMessagesAsync(IConnection, IEnumerable<string>, CancellationToken)Fetches the messages asynchronously
virtual GetCapabilities()
GetMailboxInfo()Gets the mailbox status info
GetMailboxInfo(bool)Gets the mailbox status info
GetMailboxInfo(IConnection)Gets the mailbox status info
GetMailboxInfo(IConnection, bool)Gets the mailbox status info
GetMailboxInfoAsync()Gets the mailbox status info
GetMailboxInfoAsync(bool)Gets the mailbox status info
GetMailboxInfoAsync(CancellationToken)Gets the mailbox status info
GetMailboxInfoAsync(IConnection)Gets the mailbox status info
GetMailboxInfoAsync(bool, CancellationToken)Gets the mailbox status info
GetMailboxInfoAsync(IConnection, bool)Gets the mailbox status info
GetMailboxInfoAsync(IConnection, CancellationToken)Gets the mailbox status info
GetMailboxInfoAsync(IConnection, bool, CancellationToken)Gets the mailbox status info
GetMailboxSize()Gets the size of the mailbox
GetMailboxSize(IConnection)Gets the size of the mailbox
GetMailboxSizeAsync()Gets the size of the mailbox
GetMailboxSizeAsync(CancellationToken)Gets the size of the mailbox
GetMailboxSizeAsync(IConnection)Gets the size of the mailbox
GetMailboxSizeAsync(IConnection, CancellationToken)Gets the size of the mailbox
GetMessageCount()Gets the message count
GetMessageCount(bool)Gets the message count
GetMessageCount(IConnection)Gets the message count
GetMessageCount(IConnection, bool)Gets the message count
GetMessageCountAsync()Gets the message count
GetMessageCountAsync(bool)Gets the message count
GetMessageCountAsync(CancellationToken)Gets the message count
GetMessageCountAsync(IConnection)Gets the message count
GetMessageCountAsync(bool, CancellationToken)Gets the message count
GetMessageCountAsync(IConnection, bool)Gets the message count
GetMessageCountAsync(IConnection, CancellationToken)Gets the message count
GetMessageCountAsync(IConnection, bool, CancellationToken)Gets the message count
GetMessageHeaders(int)Gets the message headers
GetMessageHeaders(string)Gets the message headers
GetMessageHeaders(IConnection, int)Gets the message headers
GetMessageHeaders(IConnection, string)Gets the message headers
GetMessageHeadersAsync(int)Gets the message headers
GetMessageHeadersAsync(string)Gets the message headers
GetMessageHeadersAsync(IConnection, int)Gets the message headers
GetMessageHeadersAsync(IConnection, string)Gets the message headers
GetMessageHeadersAsync(int, CancellationToken)Gets the message headers
GetMessageHeadersAsync(string, CancellationToken)Gets the message headers
GetMessageHeadersAsync(IConnection, int, CancellationToken)Gets the message headers
GetMessageHeadersAsync(IConnection, string, CancellationToken)Gets the message headers
GetMessageInfo(int)Gets the information for that message
GetMessageInfo(string)Gets the information for that message
GetMessageInfo(IConnection, int)Gets the information for that message
GetMessageInfo(IConnection, string)Gets the information for that message
GetMessageInfo(int, Pop3ListFields)Gets the information for that message
GetMessageInfo(string, Pop3ListFields)Gets the information for that message
GetMessageInfo(IConnection, int, Pop3ListFields)Gets the information for that message
GetMessageInfo(IConnection, string, Pop3ListFields)Gets the information for that message
GetMessageInfoAsync(int)Gets the information for that message
GetMessageInfoAsync(string)Gets the information for that message
GetMessageInfoAsync(IConnection, int)Gets the information for that message
GetMessageInfoAsync(IConnection, string)Gets the information for that message
GetMessageInfoAsync(int, CancellationToken)Gets the information for that message
GetMessageInfoAsync(int, Pop3ListFields)Gets the information for that message
GetMessageInfoAsync(string, CancellationToken)Gets the information for that message
GetMessageInfoAsync(string, Pop3ListFields)Gets the information for that message
GetMessageInfoAsync(IConnection, int, CancellationToken)Gets the information for that message
GetMessageInfoAsync(IConnection, int, Pop3ListFields)Gets the information for that message
GetMessageInfoAsync(IConnection, string, CancellationToken)Gets the information for that message
GetMessageInfoAsync(IConnection, string, Pop3ListFields)Gets the information for that message
GetMessageInfoAsync(int, Pop3ListFields, CancellationToken)Gets the information for that message
GetMessageInfoAsync(string, Pop3ListFields, CancellationToken)Gets the information for that message
GetMessageInfoAsync(IConnection, int, Pop3ListFields, CancellationToken)Gets the information for that message
GetMessageInfoAsync(IConnection, string, Pop3ListFields, CancellationToken)Gets the information for that message
GetMessageSize(int)Gets the size of the message
GetMessageSize(string)Gets the size of the message
GetMessageSize(IConnection, int)Gets the size of the message
GetMessageSize(IConnection, string)Gets the size of the message
GetMessageSizeAsync(int)Gets the size of the message
GetMessageSizeAsync(string)Gets the size of the message
GetMessageSizeAsync(IConnection, int)Gets the size of the message
GetMessageSizeAsync(IConnection, string)Gets the size of the message
GetMessageSizeAsync(int, CancellationToken)Gets the size of the message
GetMessageSizeAsync(string, CancellationToken)Gets the size of the message
GetMessageSizeAsync(IConnection, int, CancellationToken)Gets the size of the message
GetMessageSizeAsync(IConnection, string, CancellationToken)Gets the size of the message
GetMessageUniqueId(int)Gets the message unique id
GetMessageUniqueId(IConnection, int)Gets the message unique id
GetMessageUniqueIdAsync(int)Gets the message unique id
GetMessageUniqueIdAsync(IConnection, int)Gets the message unique id
GetMessageUniqueIdAsync(int, CancellationToken)Gets the message unique id
GetMessageUniqueIdAsync(IConnection, int, CancellationToken)Gets the message unique id
ListMessages()Lists the messages. Gets an information for earch message
ListMessages(bool)Lists the messages. Gets an information for earch message
ListMessages(IConnection)Lists the messages. Gets an information for earch message
ListMessages(IEnumerable<int>)Lists the messages. Gets an information for earch message
ListMessages(IEnumerable<string>)Lists the messages. Gets an information for earch message
ListMessages(MailQuery)Lists the messages.
ListMessages(Pop3ListFields)Lists the messages.
ListMessages(IConnection, bool)Lists the messages. Gets an information for earch message
ListMessages(IConnection, IEnumerable<int>)Lists the messages. Gets an information for earch message
ListMessages(IConnection, IEnumerable<string>)Lists the messages. Gets an information for earch message
ListMessages(IConnection, MailQuery)Lists the messages.
ListMessages(IConnection, Pop3ListFields)Lists the messages.
ListMessages(Pop3ListFields, bool, MailQuery)Lists the messages.
ListMessages(IConnection, Pop3ListFields, bool, MailQuery)Lists the messages.
ListMessagesAsync()Lists the messages. Gets an information for earch message
ListMessagesAsync(bool)Lists the messages. Gets an information for earch message
ListMessagesAsync(CancellationToken)Lists the messages. Gets an information for earch message
ListMessagesAsync(IConnection)Lists the messages. Gets an information for earch message
ListMessagesAsync(MailQuery)Lists the messages.
ListMessagesAsync(Pop3ListFields)Lists the messages.
ListMessagesAsync(bool, CancellationToken)Lists the messages. Gets an information for earch message
ListMessagesAsync(IConnection, bool)Lists the messages. Gets an information for earch message
ListMessagesAsync(IConnection, CancellationToken)Lists the messages. Gets an information for earch message
ListMessagesAsync(IConnection, MailQuery)Lists the messages.
ListMessagesAsync(IConnection, Pop3ListFields)Lists the messages.
ListMessagesAsync(MailQuery, CancellationToken)Lists the messages.
ListMessagesAsync(Pop3ListFields, CancellationToken)Lists the messages.
ListMessagesAsync(IConnection, bool, CancellationToken)Lists the messages. Gets an information for earch message
ListMessagesAsync(IConnection, MailQuery, CancellationToken)Lists the messages.
ListMessagesAsync(IConnection, Pop3ListFields, CancellationToken)Lists the messages.
ListMessagesAsync(Pop3ListFields, bool, MailQuery)Lists the messages.
ListMessagesAsync(IConnection, Pop3ListFields, bool, MailQuery)Lists the messages.
ListMessagesAsync(Pop3ListFields, bool, MailQuery, CancellationToken)Lists the messages.
ListMessagesAsync(IConnection, Pop3ListFields, bool, MailQuery, CancellationToken)Lists the messages.
LoadMessageInfoList(IEnumerable<int>)Loads list of Pop3MessageInfo
LoadMessageInfoList(IEnumerable<Pop3MessageInfo>)Loads list of Pop3MessageInfo
LoadMessageInfoList(IConnection, IEnumerable<int>)Loads list of Pop3MessageInfo
LoadMessageInfoList(IConnection, IEnumerable<Pop3MessageInfo>)Loads list of Pop3MessageInfo
LoadMessageInfoListAsync(IEnumerable<int>)Loads list of Pop3MessageInfo
LoadMessageInfoListAsync(IEnumerable<Pop3MessageInfo>)Loads list of Pop3MessageInfo
LoadMessageInfoListAsync(Pop3LoadMessageInfoList)Loads list of Pop3MessageInfo
LoadMessageInfoListAsync(IConnection, IEnumerable<int>)Loads list of Pop3MessageInfo
LoadMessageInfoListAsync(IConnection, IEnumerable<Pop3MessageInfo>)Loads list of Pop3MessageInfo
LoadMessageInfoListAsync(IEnumerable<int>, CancellationToken)Loads list of Pop3MessageInfo
LoadMessageInfoListAsync(IEnumerable<Pop3MessageInfo>, CancellationToken)Loads list of Pop3MessageInfo
LoadMessageInfoListAsync(IConnection, IEnumerable<int>, CancellationToken)Loads list of Pop3MessageInfo
LoadMessageInfoListAsync(IConnection, IEnumerable<Pop3MessageInfo>, CancellationToken)Loads list of Pop3MessageInfo
override Noop()‘No operation’ command
override Noop(IConnection)‘No operation’ command
NoopAsync()‘No operation’ command
NoopAsync(CancellationToken)‘No operation’ command
NoopAsync(IConnection)‘No operation’ command
NoopAsync(IConnection, CancellationToken)‘No operation’ command
ResetLogSettings()Resets logging settings to default.
SaveMessage(int, Stream)Fetches and save the message as a stream
SaveMessage(int, string)Fetches and save the message into a file
SaveMessage(string, Stream)Fetches and save the message as a stream
SaveMessage(string, string)Fetches and save the message into a file
SaveMessage(IConnection, int, Stream)Fetches and save the message as a stream
SaveMessage(IConnection, int, string)Fetches and save the message into a file
SaveMessage(IConnection, string, Stream)Fetches and save the message as a stream
SaveMessage(IConnection, string, string)Fetches and save the message into a file
SaveMessageAsync(int, Stream)Fetches and save the message as a stream
SaveMessageAsync(int, string)Fetches and save the message into a file
SaveMessageAsync(string, Stream)Fetches and save the message as a stream
SaveMessageAsync(string, string)Fetches and save the message into a file
SaveMessageAsync(IConnection, int, Stream)Fetches and save the message as a stream
SaveMessageAsync(IConnection, int, string)Fetches and save the message into a file
SaveMessageAsync(IConnection, string, Stream)Fetches and save the message as a stream
SaveMessageAsync(IConnection, string, string)Fetches and save the message into a file
SaveMessageAsync(int, Stream, CancellationToken)Fetches and save the message as a stream
SaveMessageAsync(int, string, CancellationToken)Fetches and save the message into a file
SaveMessageAsync(string, Stream, CancellationToken)Fetches and save the message as a stream
SaveMessageAsync(string, string, CancellationToken)Fetches and save the message into a file
SaveMessageAsync(IConnection, int, Stream, CancellationToken)Fetches and save the message as a stream
SaveMessageAsync(IConnection, int, string, CancellationToken)Fetches and save the message into a file
SaveMessageAsync(IConnection, string, Stream, CancellationToken)Fetches and save the message as a stream
SaveMessageAsync(IConnection, string, string, CancellationToken)Fetches and save the message into a file
SetSupportedEncryptionUnsafe(EncryptionProtocols)Defines the versions of SSL/TLS encryption protocols to be used. This method is not safe and sets the encryption protocols without any compatibility checks. Use SupportedEncryption property to safely set only protocols that definitely supported by .net framework. Please note, if your current .net framework does not support this level of security, an exception will be thrown when trying to establish a connection to the server.
UndeleteMessages()Undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
UndeleteMessages(IConnection)Undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
UndeleteMessagesAsync()Undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
UndeleteMessagesAsync(CancellationToken)Undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
UndeleteMessagesAsync(IConnection)Undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
UndeleteMessagesAsync(IConnection, CancellationToken)Undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
override ValidateCredentials()Executes credentials validation
ValidateCredentials(IConnection)Executes credentials validation
ValidateCredentialsAsync()Executes credentials validation
ValidateCredentialsAsync(CancellationToken)Executes credentials validation
ValidateCredentialsAsync(IConnection)Executes credentials validation
ValidateCredentialsAsync(IConnection, CancellationToken)Executes credentials validation
static CreateAsync(string, string, IAsyncTokenProvider, int, SecurityOptions, CancellationToken)Creates a new instance of the Pop3Client class

Events

NameDescription
event BindIPEndPointAssociates a Socket with a local endpoint.
event OnConnectThe OnConnect event occurs when the clent establishes connection.

See Also