Email Factory for .NET

Pop Members

Pop overview

Public Static Fields

AUTH_APOPAPOP username and password authentication.
AUTH_PASSPlain text username and password authentication.

Public Instance Constructors

Pop Overloaded. Initializes a new instance of the Pop class.

Public Instance Properties

Authenticated 
AuthModeGets/Sets the authorization mode.
Container (inherited from Component)Gets the IContainer that contains the Component.
DebugGets/Sets Pop debug flag.
DebugStreamGets/Sets debug output stream.
DeleteMessagesGets/Sets Delete flag used to delete messages from POP server.
HostnameGets/Sets the POP server host name.
InterruptGets/Sets the current transfer state.
LicenseKey License key.
PasswordGets/Sets the Password used to retrieve messages from the POP server.
PortGets/Sets the POP server port number.
ProxyHostnameGets/Sets the hostname or IP address of the Proxy server.
ProxyPasswordGets/Sets the password used to log in to the Proxy server.
ProxyPortGets/Sets the port of the Proxy server.
ProxyTypeGets/Sets the type of Proxy server.
ProxyUsernameGets/Sets the username used to log in to the Proxy server.
Site (inherited from Component)Gets or sets the ISite of the Component.
TimeoutGets/Sets the Socket Timeout parameter.
UsernameGets/Sets the Username used to retrieve messages from the POP server.

Public Instance Methods

ConnectEstablishes a connection to the POP server specified in the Pop constructor.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
DeleteMessageDeletes the specified message.
DisconnectDisconnects from POP server.
Dispose (inherited from Component)Overloaded. Releases all resources used by the Component.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetMessageGets the message from POP server.
GetMessageCountGets number of messages currently in the mailbox.
GetMessagesGets all available messages in mailbox from POP server.
GetMessageSizeGets size of message in bytes from POP server.
GetOutputStreamGets the output stream of the socket connection.
GetTopGets the message header and the specified number of lines from the message.
GetType (inherited from Object)Gets the Type of the current instance.
GetUidGets unique message id for a message on POP3 server.
InitializeLifetimeService (inherited from MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
InterruptedInterrupts the current process.
IsConnectedTests Pop connection.
IssueCommandOverloaded. Issues a command to POP server and reads response.
IssueCommandMultiLineIssues a command to POP server and reads response.
ToString (inherited from Component)Returns a String containing the name of the Component, if any. This method should not be overridden.

Public Instance Events

CommandSentEventOccurs after successfully sending data to the POP server.
ConnectedEventOccurs after a successful connection to the POP server.
DataReceivedEventOccurs after successfully reading data from the POP server.
DisconnectedEventOccurs after a successful disconnection from the POP server.
Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.
MessageRetrievedEventOccurs after successfully reading a message from the POP server.

Protected Instance Fields

inputInput stream for Pop.
outputOutput stream for Pop.

Protected Instance Properties

CanRaiseEvents (inherited from Component)Gets a value indicating whether the component can raise an event.
DesignMode (inherited from Component)Gets a value that indicates whether the Component is currently in design mode.
Events (inherited from Component)Gets the list of event handlers that are attached to this Component.

Protected Instance Methods

DisposeOverloaded. Clean up any resources being used.
Finalize (inherited from Component)Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
FireCommandSentEventFires CommandSentEvent event.
FireConnectedEventFires ConnectedEvent event.
FireDataReceivedEventFires DataReceivedEvent event.
FireDisconnectedEventFires DisconnectedEvent event.
FireMessageRetrievedEventFires MessageRetrievedEvent event.
GetService (inherited from Component)Returns an object that represents a service provided by the Component or by its Container.
LoginAPOPPerforms login using APOP authentication method. APOP authentication method is defined in RFC 1939.
LoginPASSPerforms login using username/password authentication. Username and password must be set prior to invoking this method.
MemberwiseClone (inherited from MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object)Overloaded. Creates a shallow copy of the current Object.

See Also

Pop Class | Jscape.Email Namespace