The Pop type exposes the following members.

Methods

  Name Description
Public method Connect
Establishes a connection to the POP server specified in the Pop constructor.
Public method CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public method DeleteMessage
Deletes the specified message.
Public method Disconnect
Disconnects from POP server.
Public method Dispose()()()()
Releases all resources used by the Component.
(Inherited from Component.)
Protected method Dispose(Boolean)
Clean up any resources being used.
(Overrides Component..::..Dispose(Boolean).)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Protected method FireCommandSentEvent
Fires CommandSentEvent event.
Protected method FireConnectedEvent
Fires ConnectedEvent event.
Protected method FireDataReceivedEvent
Fires DataReceivedEvent event.
Protected method FireDisconnectedEvent
Fires DisconnectedEvent event.
Protected method FireMessageRetrievedEvent
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method GetMessage
Gets the message from POP server.
Public method GetMessageCount
Gets number of messages currently in the mailbox.
Public method GetMessages
Gets all available messages in mailbox from POP server.
Public method GetMessageSize
Gets size of message in bytes from POP server.
Public method GetOutputStream
Gets the output stream of the socket connection.
Protected method GetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public method GetTop
Gets the message header and the specified number of lines from the message.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetUid
Gets unique message id for a message on POP3 server.
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method Interrupted
Interrupts the current process.
Public method IsConnected
Tests Pop connection.
Public method IssueCommand(String)
Issues a command to POP server and reads response.
Public method IssueCommand(String, Boolean)
Issues a command to POP server and optionally reads response.
Public method IssueCommandMultiLine
Issues a command to POP server and reads response.
Protected method LoginAPOP
Performs login using APOP authentication method. APOP authentication method is defined in RFC 1939.
Protected method LoginPASS
Performs login using username/password authentication. Username and password must be set prior to invoking this method.
Protected method MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public method ToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)

Fields

  Name Description
Public field Static member AUTH_APOP
APOP username and password authentication.
Public field Static member AUTH_PASS
Plain text username and password authentication.
Protected field input
Input stream for Pop.
Protected field output
Output stream for Pop.

Properties

  Name Description
Public property Authenticated
Public property AuthMode
Gets/Sets the authorization mode.
Protected property CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public property Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public property Debug
Gets/Sets Pop debug flag.
Public property DebugStream
Gets/Sets debug output stream.
Public property DeleteMessages
Gets/Sets Delete flag used to delete messages from POP server.
Protected property DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Protected property Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public property Hostname
Gets/Sets the POP server host name.
Public property Interrupt
Gets/Sets the current transfer state.
Public property LicenseKey
License key.
Public property Password
Gets/Sets the Password used to retrieve messages from the POP server.
Public property Port
Gets/Sets the POP server port number.
Public property ProxyHostname
Gets/Sets the hostname or IP address of the Proxy server.
Public property ProxyPassword
Gets/Sets the password used to log in to the Proxy server.
Public property ProxyPort
Gets/Sets the port of the Proxy server.
Public property ProxyType
Gets/Sets the type of Proxy server.
Public property ProxyUsername
Gets/Sets the username used to log in to the Proxy server.
Public property Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public property Timeout
Gets/Sets the Socket Timeout parameter.
Public property Username
Gets/Sets the Username used to retrieve messages from the POP server.

Events

  Name Description
Public event CommandSentEvent
Occurs after successfully sending data to the POP server.
Public event ConnectedEvent
Occurs after a successful connection to the POP server.
Public event DataReceivedEvent
Occurs after successfully reading data from the POP server.
Public event DisconnectedEvent
Occurs after a successful disconnection from the POP server.
Public event Disposed
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.)
Public event MessageRetrievedEvent
Occurs after successfully reading a message from the POP server.

See Also