The Pop3 type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkPop3
Initializes a new instance of the Pop3 class.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkAbort
Aborts the current operation.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the POP3 server.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, SslMode, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the POP3 server with the specified security. Use a port corresponding to the specified security mode.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, Int32, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the POP3 server.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, Int32, SslMode, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the POP3 server with the specified security.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, Int32, TlsParameters, Pop3Security, AsyncCallback, Object) Obsolete.
Public methodSupported by the .NET Compact FrameworkBeginDelete
Begins asynchronous Delete operation. Marks a message as deleted. Messages marked as deleted will actually be deleted after a call to Disconnect()()()() method.
Public methodSupported by the .NET Compact FrameworkBeginDisconnect
Begins asynchronous Disconnect operation. Deletes any messages marked as deleted and terminate the connection.
Public methodSupported by the .NET Compact FrameworkBeginGetMailboxSize
Begins asynchronous GetMailboxSize operation. Retrieve the size of the mailbox - the sum of lengths of all messages.
Public methodSupported by the .NET Compact FrameworkBeginGetMailMessage
Begins asynchronous GetMailMessage operation. Downloads a message with a specified number from the server and loads it into an instance of MailMessage.
Public methodSupported by the .NET Compact FrameworkBeginGetMessage(Int32, Stream, AsyncCallback, Object)
Begins asynchronous GetMessage operation. Downloads the message with a specified number from the server and writes its data into a supplied stream.
Public methodSupported by the .NET Compact FrameworkBeginGetMessage(Int32, String, AsyncCallback, Object)
Begins asynchronous GetMessage operation. Downloads the message with a specified number from the server and writes its data into a local file.
Public methodSupported by the .NET Compact FrameworkBeginGetMessageCount
Begins asynchronous GetMessageCount operation. Retrieve the number of messages in the mailbox.
Public methodSupported by the .NET Compact FrameworkBeginGetMessageHeaders
Begins asynchronous GetMessageHeaders operation. Downloads the headers of a message with a specified number from the server and writes it into a supplied stream.
Public methodSupported by the .NET Compact FrameworkBeginGetMessageInfo
Begins asynchronous GetMessageInfo operation. Gets information about a message with the specified sequence number.
Public methodSupported by the .NET Compact FrameworkBeginGetMessageList
Begins asynchronous GetMessageList operation. Retrieves a list of messages in the mailbox.
Public methodSupported by the .NET Compact FrameworkBeginGetMessageSequenceNumber
Begins asynchronous GetMessageSequenceNumber operation. Converts a unique ID to sequence number. Returns the sequence number of the specified message, or null (Nothing in VB.NET) if not found.
Public methodSupported by the .NET Compact FrameworkBeginGetMimeMessage
Begins asynchronous GetMimeMessage operation. Downloads a message with a specified number from the server and loads it into an instance of MimeMessage.
Public methodSupported by the .NET Compact FrameworkBeginLogin(GssApiProvider, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the POP3 server using the specified GSSAPI provider. Only supported on Windows and partially on Mono.
Public methodSupported by the .NET Compact FrameworkBeginLogin(Pop3Authentication, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the POP3 server using the specified authentication method that does not require credentials (NTLM or GSSAPI). Only supported on Windows.
Public methodSupported by the .NET Compact FrameworkBeginLogin(String, Pop3Authentication, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the POP3 server using an OAuth token.
Public methodSupported by the .NET Compact FrameworkBeginLogin(String, String, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the POP3 server.
Public methodSupported by the .NET Compact FrameworkBeginLogin(String, String, Pop3Authentication, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the POP3 server using the specified authentication method.
Public methodSupported by the .NET Compact FrameworkBeginReadResponse
Begins asynchronous ReadResponse operation. Returns a single line of response of the POP3 server to the command.
Public methodSupported by the .NET Compact FrameworkBeginSecure(AsyncCallback, Object)
Begins asynchronous Secure operation. Secures the connection with TLS/SSL using default parameters.
Public methodSupported by the .NET Compact FrameworkBeginSecure(TlsParameters, AsyncCallback, Object) Obsolete.
Public methodSupported by the .NET Compact FrameworkBeginSendCommand
Begins asynchronous SendCommand operation. Sends a custom command to the POP3 server.
Public methodSupported by the .NET Compact FrameworkBeginUndelete
Begins asynchronous Undelete operation. Unmarks any messages that have been marked as deleted.
Public methodSupported by the .NET Compact FrameworkConnect(String)
Connects to the POP3 server.
Public methodSupported by the .NET Compact FrameworkConnect(String, SslMode)
Connects to the POP3 server with the specified security. Use a port corresponding to the specified security mode.
Public methodSupported by the .NET Compact FrameworkConnect(String, Int32)
Connects to the POP3 server.
Public methodSupported by the .NET Compact FrameworkConnect(String, Int32, SslMode)
Connects to the POP3 server with the specified security.
Public methodSupported by the .NET Compact FrameworkConnect(String, Int32, TlsParameters, Pop3Security) Obsolete.
Public methodSupported by the .NET Compact FrameworkDelete
Marks a message as deleted. Messages marked as deleted will actually be deleted after a call to Disconnect()()()() method.
Public methodSupported by the .NET Compact FrameworkDisconnect()()()()
Deletes any messages marked as deleted and terminates the connection.
Public methodSupported by the .NET Compact FrameworkDisconnect(Boolean)
Deletes any messages marked as deleted and terminate the connection.
Public methodSupported by the .NET Compact FrameworkDispose()()()()
Disposes the Pop3 object and all the socket objects.
Protected methodSupported by the .NET Compact FrameworkDispose(Boolean)
Releases the unmanaged resources used by the Pop3 and optionally releases the managed resources.
Public methodSupported by the .NET Compact FrameworkEndConnect
Ends an asynchronous BeginConnect operation.
Public methodSupported by the .NET Compact FrameworkEndDelete
Ends an asynchronous BeginDelete operation.
Public methodSupported by the .NET Compact FrameworkEndDisconnect
Ends an asynchronous BeginDisconnect operation.
Public methodSupported by the .NET Compact FrameworkEndGetMailboxSize
Ends an asynchronous BeginGetMailboxSize operation.
Public methodSupported by the .NET Compact FrameworkEndGetMailMessage
Ends an asynchronous BeginGetMailMessage operation.
Public methodSupported by the .NET Compact FrameworkEndGetMessage
Ends an asynchronous BeginGetMessage operation.
Public methodSupported by the .NET Compact FrameworkEndGetMessageCount
Ends an asynchronous BeginGetMessageCount operation.
Public methodSupported by the .NET Compact FrameworkEndGetMessageHeaders
Ends an asynchronous BeginGetMessageHeaders operation.
Public methodSupported by the .NET Compact FrameworkEndGetMessageInfo
Ends an asynchronous BeginGetMessageInfo operation.
Public methodSupported by the .NET Compact FrameworkEndGetMessageList
Ends an asynchronous BeginGetMessageList operation.
Public methodSupported by the .NET Compact FrameworkEndGetMessageSequenceNumber
Ends an asynchronous BeginGetMessageSequenceNumber operation.
Public methodSupported by the .NET Compact FrameworkEndGetMimeMessage
Ends an asynchronous BeginGetMimeMessage operation.
Public methodSupported by the .NET Compact FrameworkEndLogin
Ends an asynchronous BeginLogin operation.
Public methodSupported by the .NET Compact FrameworkEndReadResponse
Ends an asynchronous BeginReadResponse operation.
Public methodSupported by the .NET Compact FrameworkEndSecure
Ends an asynchronous BeginSecure operation.
Public methodSupported by the .NET Compact FrameworkEndSendCommand
Ends an asynchronous BeginSendCommand operation.
Public methodSupported by the .NET Compact FrameworkEndUndelete
Ends an asynchronous BeginUndelete operation.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Finalizer. Called by garbage collector during object destruction.
(Overrides Object..::..Finalize()()()().)
Public methodSupported by the .NET Compact FrameworkGetConnectionState
Checks whether the POP3 session is still connected and returns its state.
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetMailboxSize
Retrieve the size of the mailbox - the sum of lengths of all messages.
Public methodSupported by the .NET Compact FrameworkGetMailMessage
Downloads a message with a specified number from the server and loads it into an instance of MailMessage.
Public methodSupported by the .NET Compact FrameworkGetMessage(Int32, Stream)
Downloads the message with a specified number from the server and writes its data into a supplied stream.
Public methodSupported by the .NET Compact FrameworkGetMessage(Int32, String)
Downloads the message with a specified number from the server and writes its data into a local file.
Public methodSupported by the .NET Compact FrameworkGetMessageCount
Retrieve the number of messages in the mailbox.
Public methodSupported by the .NET Compact FrameworkGetMessageHeaders
Downloads the headers of a message with a specified number from the server and writes it into a supplied stream.
Public methodSupported by the .NET Compact FrameworkGetMessageInfo
Gets information about a message with the specified sequence number.
Public methodSupported by the .NET Compact FrameworkGetMessageList()()()()
Retrieves a list of messages in the mailbox with unique IDs and lengths.
Public methodSupported by the .NET Compact FrameworkGetMessageList(Pop3ListFields)
Retrieves a list of messages in the mailbox.
Public methodSupported by the .NET Compact FrameworkGetMessageSequenceNumber
Converts a unique ID to sequence number. Returns the sequence number of the specified message, or null (Nothing in VB.NET) if not found.
Public methodSupported by the .NET Compact FrameworkGetMimeMessage
Downloads a message with a specified number from the server and loads it into an instance of MimeMessage.
Public methodSupported by the .NET Compact FrameworkGetSupportedAuthenticationMethods
Gets the list of supported authentication methods.
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkCheckConnectionState
Checks whether the POP3 session is still connected. Throws an exception on error.
Public methodSupported by the .NET Compact FrameworkLogin(GssApiProvider)
Authenticates the user to the POP3 server using the specified GSSAPI provider. Only supported on Windows and partially on Mono.
Public methodSupported by the .NET Compact FrameworkLogin(Pop3Authentication)
Authenticates the user to the POP3 server using the specified authentication method that does not require credentials (NTLM or GSSAPI). Only supported on Windows.
Public methodSupported by the .NET Compact FrameworkLogin(String, Pop3Authentication)
Authenticates the user to the POP3 server using an OAuth token.
Public methodSupported by the .NET Compact FrameworkLogin(String, String)
Authenticates the user to the POP3 server.
Public methodSupported by the .NET Compact FrameworkLogin(String, String, Pop3Authentication)
Authenticates the user to the POP3 server using the specified authentication method.
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkOnCommandSent
Raises the CommandSent event.
Protected methodSupported by the .NET Compact FrameworkOnResponseRead
Raises the ResponseRead event.
Protected methodSupported by the .NET Compact FrameworkOnStateChanged
Raises the StateChanged event.
Protected methodSupported by the .NET Compact FrameworkOnTlsDebug Obsolete.
Protected methodSupported by the .NET Compact FrameworkOnTransferProgress
Raises the TransferProgress event.
Public methodSupported by the .NET Compact FrameworkReadResponse
Returns a single line of response of the POP3 server to the command.
Public methodSupported by the .NET Compact FrameworkSecure()()()()
Secures the connection with TLS/SSL using default parameters.
Public methodSupported by the .NET Compact FrameworkSecure(TlsParameters) Obsolete.
Public methodSupported by the .NET Compact FrameworkSendCommand
Sends a custom command to the POP3 server.
Public methodSupported by the .NET Compact FrameworkSetSocketFactory
Sets the socket factory to be used to create communication sockets.
Public methodSupported by the .NET Compact FrameworkToString
Returns a string representation of this object.
(Overrides Object..::..ToString()()()().)
Public methodSupported by the .NET Compact FrameworkUndelete
Unmarks any messages that have been marked as deleted.

Fields

  NameDescription
Public fieldStatic memberSupported by the .NET Compact FrameworkDefaultImplicitSslPort
Default POP3/Implicit SSL port (995).
Public fieldStatic memberSupported by the .NET Compact FrameworkDefaultPort
Default POP3 port (110).

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkAbortTimeout
Gets or sets the length of time before the abort operation times out.
Public propertySupported by the .NET Compact FrameworkEncoding
Gets or sets the Encoding used to encode command arguments sent to the server and decode received answers.
Protected propertySupported by the .NET Compact FrameworkInstanceId
Gets instance ID (intended for logging purposes).
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkIsAuthenticated
Returns a value indicating whether the session is authenticated.
(Overrides NetworkSession..::..IsAuthenticated.)
Public propertySupported by the .NET Compact FrameworkIsBusy
Gets a value indicating whether there any operation (method) in progress.
Public propertySupported by the .NET Compact FrameworkIsConnected
Gets a value indicating whether the session is connected.
(Overrides NetworkSession..::..IsConnected.)
Public propertySupported by the .NET Compact FrameworkIsSecured
Gets the value indicating whether the control connection is secured.
Public propertySupported by the .NET Compact FrameworkLocalEndPoint
Gets the local client EndPoint.
Public propertySupported by the .NET Compact FrameworkLogWriter
Gets or sets the LogWriter used by this object.
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkOptions Obsolete.
Public propertySupported by the .NET Compact FrameworkProxy
Gets or sets the network proxy to use to access a remote server.
Public propertySupported by the .NET Compact FrameworkRemoteEndPoint
Gets the remote server EndPoint.
Public propertySupported by the .NET Compact FrameworkServerName
Gets the server name, if available.
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkServerPort
Gets the server port, if available.
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkSettings
Gets or sets POP3 object settings.
Public propertySupported by the .NET Compact FrameworkState
Gets the current state of the Pop3 object.
Public propertySupported by the .NET Compact FrameworkSupportedExtensions
Gets the bit field specifying the extensions supported by the server.
Public propertySupported by the .NET Compact FrameworkTimeout
Gets or sets the length of time in milliseconds before the operation times out (specify -1 or 0 to indicate that the request does not time out).
Public propertySupported by the .NET Compact FrameworkTlsDebugLevel Obsolete.
Public propertySupported by the .NET Compact FrameworkTlsSocket
Returns the TLS/SSL socket of secured control connection.
Public propertySupported by the .NET Compact FrameworkUserName
Gets the authenticated user name, if available.
(Inherited from NetworkSession.)
Public propertyStatic memberSupported by the .NET Compact FrameworkVersion
Returns the version of the POP3 component.

Events

  NameDescription
Public eventSupported by the .NET Compact FrameworkCommandSent
Occurs when a command is send to the server.
Public eventSupported by the .NET Compact FrameworkResponseRead
Occurs when a response is received from the server.
Public eventSupported by the .NET Compact FrameworkStateChanged
Occurs when the state of the Pop3 object is changed.
Public eventSupported by the .NET Compact FrameworkTlsDebug Obsolete.
Public eventSupported by the .NET Compact FrameworkTransferProgress
Occurs when data is send or received.
Public eventSupported by the .NET Compact FrameworkValidatingCertificate
Occurs when a server certificate needs to be validated.

See Also