The Pop3Client type exposes the following members.

Constructors

  NameDescription
Public methodPop3Client(String, Int32, Boolean, RemoteCertificateValidationCallback)
Initializes a new instance of the Pop3Client class and connects to the specified port on the specified host, optionally using the Secure Socket Layer (SSL) security protocol.
Public methodPop3Client(String, Int32, String, String, AuthMethod, Boolean, RemoteCertificateValidationCallback)
Initializes a new instance of the Pop3Client class and connects to the specified port on the specified host, optionally using the Secure Socket Layer (SSL) security protocol and attempts to authenticate with the server using the specified authentication method and credentials.

Methods

  NameDescription
Public methodCapabilities
Returns a listing of capabilities that the POP3 server supports. All strings in the returned array are guaranteed to be upper-case.
Public methodDeleteMessage
Deletes the mail message with the specified message number.
Public methodDispose
Releases all resources used by this Pop3Client object.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetMessage
Retrieves a mail message from the POP3 server.
Public methodGetMessageNumbers
Retrieves a list of message numbers of all mail messages in the mailbox.
Public methodGetMessages
Retrieves a set of mail messages. If no parameters are specified, all mail messages in the mailbox will be retrieved.
Public methodGetStatus
Retrieves status information (list of messages with message numbers as well as size for each message)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLogin
Attempts to establish an authenticated session with the server using the specified credentials.
Public methodLogout
Logs an authenticated client out of the server. After the logout sequence has been completed, the server closes the connection with the client.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupports
Returns whether the specified capability is supported by the server.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAuthed
Indicates whether the client is authenticated with the server

See Also