Click or drag to resize

PopClient Class

Represents mail client that can be used for retrieving messages using Post Office Protocol (POP).
Inheritance Hierarchy
SystemObject
  GemBox.Email.PopPopClient

Namespace:  GemBox.Email.Pop
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1019
Syntax
public sealed class PopClient : IDisposable

The PopClient type exposes the following members.

Constructors
  NameDescription
Public methodPopClient(String)
Initializes new instance of PopClient class with specified host address.
Public methodPopClient(String, Boolean)
Initializes new instance of PopClient class with specified host address, ConnectionSecurity option and option to ignore SSL certificate errors.
Public methodPopClient(String, Int32)
Initializes new instance of PopClient class with specified host address and port number.
Public methodPopClient(String, ConnectionSecurity, Boolean)
Initializes new instance of PopClient class with specified host address, ConnectionSecurity option and option to ignore SSL certificate errors.
Public methodPopClient(String, Int32, ConnectionSecurity)
Initializes new instance of PopClient class with specified host address, port number and ConnectionSecurity option.
Public methodPopClient(String, Int32, ConnectionSecurity, RemoteCertificateValidationCallback)
Initializes new instance of PopClient class with specified host address, port number, ConnectionSecurity option and host certificate validation delegate method.
Top
Properties
  NameDescription
Public propertyConnectTimeout
Gets or sets the connect timeout.
Public propertyHost
Gets the server address.
Public propertyIsAuthenticated
Gets whether or not client is authenticated.
Public propertyIsConnected
Gets whether or not client is connected to the server.
Public propertyLogOutput
Gets or sets the log output writer.
Public propertyPort
Gets the server IP port.
Public propertyReadTimeout
Gets or sets the read timeout.
Public propertySecurity
Gets the current connection security mode.
Public propertySupportedAuthentications
Gets collection of supported authentication mechanisms.
Public propertySupportedCapabilities
Gets the collection of supported capabilities.
Public propertyWriteTimeout
Gets or sets the write timeout.
Top
Methods
  NameDescription
Public methodAuthenticate(String, String)
Authenticates client with specified user name and password.
Public methodAuthenticate(String, String, PopAuthentication)
Authenticates client with specified user name, password and PopAuthentication mechanism.
Public methodConnect
Connects to the server.
Public methodDeleteMessage(Int32)
Deletes the specified message.
Public methodDeleteMessage(String)
Deletes the specified message.
Public methodDisconnect
Disconnects client from the server.
Public methodDispose
Disconnects client from the server and disposes all used resources.
Public methodGetCount
Gets the count of messages available on the server.
Public methodGetHeaders(Int32)
Gets the headers for the specified message.
Public methodGetHeaders(String)
Gets the headers for the specified message.
Public methodGetMessage(Int32)
Gets the specified message.
Public methodGetMessage(String)
Gets the specified message.
Public methodGetSize
Gets the size of all message available on the server.
Public methodKeepAlive
Executes NOOP command.
Public methodListMessages
Lists all available messages on the server.
Public methodListMessages(Boolean)
Lists all available messages on the server.
Public methodSaveMessage(Int32, Stream)
Saves the specified message to a stream.
Public methodSaveMessage(Int32, String)
Saves the specified message to a file.
Public methodSaveMessage(String, Stream)
Saves the specified message to a stream.
Public methodSaveMessage(String, String)
Saves the specified message to a file.
Public methodUndeleteMessages
Undeletes all messages.
Top
Events
  NameDescription
Public eventTerminated
Occurs when connection with server is terminated.
Top
Remarks
PopClient is implemented according to RFC 1939.
See Also