The following tables list the members exposed by Pop3.

      Public Constructors

      NameDescription
      Public ConstructorsPop3 ConstructorOverloaded. Initializes a new instance of the Pop3 class.
      Top

      Public Properties

      NameDescription
      Public PropertiesAbortTimeoutGets or sets a value, in milliseconds, indicating after what period of time a POP3 abort operation should timeout.
      Public PropertiesConfigGets or sets POP3 object settings.
      Public PropertiesEncodingGets or sets the Encoding that is used to encode commands sent to the server, and decode replies from the server.
      Public PropertiesInstanceIdGets instance ID (intended for logging purposes).
      Public PropertiesInvokeFromCurrentThreadsGets a value indicating whether to raise events from the current thread or to use a SynchronizationContext object available when an asynchronous operation was started. The default value is false.
      Public PropertiesIsAuthenticatedGets a boolean value indicating whether the session is authenticated. This is used to check whether the session has been automatically preauthenticated prior to calling the Authenticate method.
      Public PropertiesIsBusyGets a value indicating whether the component is performing a lengthy operation.
      Public PropertiesIsConnectedGets a boolean value indicating whether the connection has been established.
      Public PropertiesIsConnectionSecuredGets the value indicating whether the control connection is secured.
      Public PropertiesLocalEndPointGets the local client EndPoint.
      Public PropertiesLogSourceGets or sets the source object for all log messages generated by this object. If not set, the property returns the current object.
      Public PropertiesMailboxSizeGets the size of the mailbox in bytes (the sum of lengths of all messages).
      Public PropertiesMessageCountGets the number of messages in the mailbox.
      Public PropertiesProxyGets or sets the server proxy, if any, used to connect to the remote server.
      Public PropertiesRemoteEndPointGets the remote server EndPoint.
      Public PropertiesSecureSocketReturns the TLS/SSL socket of secured control connection.
      Public PropertiesServerNameGets the host name of the connected session, or null if not connected.
      Public PropertiesServerPortGets the SFTP port of the connected session, or 0 if not connected.
      Public PropertiesStateGets the current state of the Pop3 object.
      Public PropertiesSupportedAuthenticationMethodsGets the list of supported authentication methods.
      Public PropertiesSupportedFeaturesGets the bit field specifying the extensions supported by the server.
      Public PropertiesTimeoutGets or sets a value, in milliseconds, indicating after what period of time an operation (sending commands, waiting for responses or time between data buffer transfers) should timeout.
      Virtual Public PropertiesTraceListenerManagerGets or sets the TraceListenerManager object to which the log messages generated by this object are sent. If not set, the Default trace listener manager is used. If this property is set to null, all messages from this object wont be logged.
      Virtual Public PropertiesTraceSourceGets or sets the source object for all log messages generated by this object. If not set, the property returns the current object.
      Public PropertiesUserNameGets the user of the connected session, or null if not connected.
      Top

      Public Fields

      NameDescription
      Public FieldsStatic MemberDefaultImplicitSslPortDefault POP3 Implicit SSL port - 995.
      Public FieldsStatic MemberDefaultPortDefault POP3 port - 110.
      Top

      Public Methods

      NameDescription
      Public MethodsAuthenticateOverloaded. Authenticates the user to the remote POP3 server using the specified authentication method that does not require credentials. Only NTLM and External methods are supported.
      Public MethodsAuthenticateAsyncOverloaded. Asynchronously authenticates the user to the remote POP3 server using the specified authentication method that does not require credentials. Only NTLM and External methods are supported.
      Public MethodsCancelAborts the current operation.
      Public MethodsCheckSessionChecks whether the POP3 session is still connected. Throws an exception on error.
      Public MethodsConnectOverloaded. Connects to a POP3 server on the standard POP3 port (110).
      Public MethodsConnectAsyncOverloaded. Asynchronously connects to a POP3 server on the standard POP3 port (110).
      Public MethodsDeleteFlags the specified message for deletion from the server.
      Public MethodsDeleteAsyncOverloaded. Asynchronously flags the specified message for deletion from the server.
      Public MethodsDisconnectOverloaded. Disconnects from the POP3 server and releases any used resources. All messages marked as deleted will be permanently removed.
      Public MethodsDisconnectAsyncOverloaded. Asynchronously disconnects from the POP3 server and releases any used resources. All messages marked as deleted will be permanently removed.
      Public MethodsDisposeDisposes the Pop3 object and all the socket objects.
      Public MethodsDownloadMailMessageCompletely downloads the specified message from the server and loads it into an instance of the MailMessage class.
      Public MethodsDownloadMailMessageAsyncOverloaded. Asynchronously completely downloads the specified message from the server and loads it into an instance of the MailMessage class.
      Public MethodsDownloadMessageOverloaded. Downloads the specified message from the server and writes its data into a supplied stream.
      Public MethodsDownloadMessageAsyncOverloaded. Asynchronously downloads the specified message from the server and writes its data into a supplied stream.
      Public MethodsDownloadMessageHeadersDownloads the headers of a message with the specified inbox index from the server and writes its data into a supplied stream.
      Public MethodsDownloadMessageHeadersAsyncOverloaded. Asynchronously downloads the headers of a message with the specified inbox index from the server and writes its data into a supplied stream.
      Public MethodsDownloadPop3MessageRetrieves information about a message with the specified sequence number.
      Public MethodsDownloadPop3MessageAsyncOverloaded. Asynchronously retrieves information about a message with the specified sequence number.
      Public MethodsGetMailboxStatSends a STAT command to a POP3 server and parse the response.
      Public MethodsGetMailboxStatAsyncOverloaded. Asynchronously sends a STAT command to a POP3 server and parse the response.
      Public MethodsGetMessageInboxIndexTries to retrieve the inbox index of the specified message by unique ID.
      Public MethodsGetMessageInboxIndexAsyncOverloaded. Asynchronously tries to retrieve the inbox index of the specified message by unique ID.
      Public MethodsGetMessageSequenceNumberConverts a unique ID to sequence number. Returns the sequence number of the specified message, or null (Nothing in VB.NET) if not found.
      Public MethodsGetSessionStatusChecks whether the POP3 session is still connected and returns its state.
      Public MethodsListMessagesOverloaded. Retrieves a list of Pop3Message in the currently selected mailbox. Each message in the list contains the specified envelope parts.
      Public MethodsListMessagesAsyncOverloaded. Asynchronously retrieves a list of Pop3Message in the currently selected mailbox. Each message in the list contains the specified envelope parts.
      Public MethodsReadResponseReturns the corresponding response of the POP3 server to the command that was sent using the SendCommand method.
      Public MethodsReadResponseAsyncOverloaded. Asynchronously returns the corresponding response of the POP3 server to the command that was sent using the SendCommand or SendCommandAsyncmethod.
      Public MethodsSendCommandSends a custom command to the server.
      Public MethodsSendCommandAsyncOverloaded. Asynchronously sends a custom command to the server.
      Public MethodsSetSocketFactorySets the socket factory to be used to create communication sockets.
      Public MethodsToStringOverridden. Returns a string representation of this object.
      Public MethodsUndeleteUndelete messages - unmarks any messages that have been marked as deleted.
      Public MethodsUndeleteAsyncOverloaded. Asynchronously undelete messages - unmarks any messages that have been marked as deleted.
      Public MethodsUpgradeConnectionSecures the connection with TLS/SSL using default parameters.
      Public MethodsUpgradeConnectionAsyncOverloaded. Asynchronously secures the connection with TLS/SSL using default parameters.
      Top

      Protected Methods

      Top

      Public Events

      NameDescription
      Public EventsAuthenticateCompletedOccurs when an asynchronous authentication operation completes.
      Public EventsCertificateReceivedOccurs when a POP3 server's certificate was received and verified.
      Public EventsCertificateRequiredOccurs when a client certificate is required by the POP3 server, or the one provided was not accepted.
      Public EventsCommandResponseOccurs when a command has been sent to or a response is received from the server.
      Public EventsConnectCompletedOccurs when an asynchronous ConnectAsync operation completes.
      Public EventsDeleteCompletedOccurs when an asynchronous DeleteAsync operation completes.
      Public EventsDisconnectCompletedOccurs when an asynchronous DisconnectAsync operation completes.
      Public EventsDownloadMailMessageCompletedOccurs when an asynchronous DownloadMailMessageAsync operation completes.
      Public EventsDownloadMessageCompletedOccurs when an asynchronous DownloadMessageAsync operation completes.
      Public EventsDownloadMessageHeadersCompletedOccurs when an asynchronous DownloadMessageHeadersAsync operation completes.
      Public EventsDownloadPop3MessageCompletedOccurs when an asynchronous DownloadPop3MessageAsync operation completes.
      Public EventsGetMailboxStatCompletedOccurs when an asynchronous GetMailboxStatAsync operation completes.
      Public EventsGetMessageInboxIndexCompletedOccurs when an asynchronous GetMessageInboxIndexAsync operation completes.
      Public EventsListMessagesCompletedOccurs when an asynchronous ListMessagesAsync operation completes.
      Public EventsMessageListProgressOccurs when message list is downloading.
      Public EventsProgressOccurs when data is send or received.
      Public EventsReadResponseCompletedOccurs when an asynchronous ReadResponseAsync operation completes.
      Public EventsSendCommandCompletedOccurs when an asynchronous SendCommandAsync operation completes.
      Public EventsStateChangedOccurs when the state of the Pop3 object is changed.
      Public EventsUndeleteCompletedOccurs when an asynchronous UndeleteAsync operation completes.
      Public EventsUpgradeConnectionCompletedOccurs when an asynchronous UpgradeConnectionAsync operation completes.
      Top

      See Also