The Pop3 type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Abort |
Aborts the current operation.
| |
| BeginConnect(String, AsyncCallback, Object) |
Begins asynchronous Connect operation.
Connects to the POP3 server.
| |
| BeginConnect(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.
| |
| BeginConnect(String, Int32, AsyncCallback, Object) |
Begins asynchronous Connect operation.
Connects to the POP3 server.
| |
| BeginConnect(String, Int32, SslMode, AsyncCallback, Object) |
Begins asynchronous Connect operation.
Connects to the POP3 server with the specified security.
| |
| BeginConnect(String, Int32, TlsParameters, Pop3Security, AsyncCallback, Object) | Obsolete. | |
| BeginDelete |
Begins asynchronous Delete operation.
Marks a message as deleted. Messages marked as deleted will actually be deleted after a call to Disconnect()()()() method.
| |
| BeginDisconnect |
Begins asynchronous Disconnect operation.
Deletes any messages marked as deleted and terminate the connection.
| |
| BeginGetMailboxSize |
Begins asynchronous GetMailboxSize operation.
Retrieve the size of the mailbox - the sum of lengths of all messages.
| |
| BeginGetMailMessage |
Begins asynchronous GetMailMessage operation.
Downloads a message with a specified number from the server and loads
it into an instance of MailMessage.
| |
| BeginGetMessage(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.
| |
| BeginGetMessage(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.
| |
| BeginGetMessageCount |
Begins asynchronous GetMessageCount operation.
Retrieve the number of messages in the mailbox.
| |
| BeginGetMessageHeaders |
Begins asynchronous GetMessageHeaders operation.
Downloads the headers of a message with a specified number from the server and writes
it into a supplied stream.
| |
| BeginGetMessageInfo |
Begins asynchronous GetMessageInfo operation.
Gets information about a message with the specified sequence number.
| |
| BeginGetMessageList |
Begins asynchronous GetMessageList operation.
Retrieves a list of messages in the mailbox.
| |
| BeginGetMessageSequenceNumber |
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.
| |
| BeginGetMimeMessage |
Begins asynchronous GetMimeMessage operation.
Downloads a message with a specified number from the server and loads
it into an instance of MimeMessage.
| |
| BeginLogin(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.
| |
| BeginLogin(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.
| |
| BeginLogin(String, Pop3Authentication, AsyncCallback, Object) |
Begins asynchronous Login operation.
Authenticates the user to the POP3 server using an OAuth token.
| |
| BeginLogin(String, String, AsyncCallback, Object) |
Begins asynchronous Login operation.
Authenticates the user to the POP3 server.
| |
| BeginLogin(String, String, Pop3Authentication, AsyncCallback, Object) |
Begins asynchronous Login operation.
Authenticates the user to the POP3 server using the specified authentication method.
| |
| BeginReadResponse |
Begins asynchronous ReadResponse operation.
Returns a single line of response of the POP3 server to the command.
| |
| BeginSecure(AsyncCallback, Object) |
Begins asynchronous Secure operation.
Secures the connection with TLS/SSL using default parameters.
| |
| BeginSecure(TlsParameters, AsyncCallback, Object) | Obsolete. | |
| BeginSendCommand |
Begins asynchronous SendCommand operation.
Sends a custom command to the POP3 server.
| |
| BeginUndelete |
Begins asynchronous Undelete operation.
Unmarks any messages that have been marked as deleted.
| |
| Connect(String) |
Connects to the POP3 server.
| |
| Connect(String, SslMode) |
Connects to the POP3 server with the specified security. Use a port corresponding to the specified security mode.
| |
| Connect(String, Int32) |
Connects to the POP3 server.
| |
| Connect(String, Int32, SslMode) |
Connects to the POP3 server with the specified security.
| |
| Connect(String, Int32, TlsParameters, Pop3Security) | Obsolete. | |
| Delete |
Marks a message as deleted. Messages marked as deleted will actually be deleted after a call to Disconnect()()()() method.
| |
| Disconnect()()()() |
Deletes any messages marked as deleted and terminates the connection.
| |
| Disconnect(Boolean) |
Deletes any messages marked as deleted and terminate the connection.
| |
| Dispose()()()() |
Disposes the Pop3 object and all the socket objects.
| |
| Dispose(Boolean) |
Releases the unmanaged resources used by the Pop3
and optionally releases the managed resources.
| |
| EndConnect |
Ends an asynchronous BeginConnect operation.
| |
| EndDelete |
Ends an asynchronous BeginDelete operation.
| |
| EndDisconnect |
Ends an asynchronous BeginDisconnect operation.
| |
| EndGetMailboxSize |
Ends an asynchronous BeginGetMailboxSize operation.
| |
| EndGetMailMessage |
Ends an asynchronous BeginGetMailMessage operation.
| |
| EndGetMessage |
Ends an asynchronous BeginGetMessage operation.
| |
| EndGetMessageCount |
Ends an asynchronous BeginGetMessageCount operation.
| |
| EndGetMessageHeaders |
Ends an asynchronous BeginGetMessageHeaders operation.
| |
| EndGetMessageInfo |
Ends an asynchronous BeginGetMessageInfo operation.
| |
| EndGetMessageList |
Ends an asynchronous BeginGetMessageList operation.
| |
| EndGetMessageSequenceNumber |
Ends an asynchronous BeginGetMessageSequenceNumber operation.
| |
| EndGetMimeMessage |
Ends an asynchronous BeginGetMimeMessage operation.
| |
| EndLogin |
Ends an asynchronous BeginLogin operation.
| |
| EndReadResponse |
Ends an asynchronous BeginReadResponse operation.
| |
| EndSecure |
Ends an asynchronous BeginSecure operation.
| |
| EndSendCommand |
Ends an asynchronous BeginSendCommand operation.
| |
| EndUndelete |
Ends an asynchronous BeginUndelete operation.
| |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize |
Finalizer. Called by garbage collector during object destruction.
(Overrides Object..::..Finalize()()()().) | |
| GetConnectionState |
Checks whether the POP3 session is still connected and returns its state.
| |
| GetHashCode | 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.) | |
| GetMailboxSize |
Retrieve the size of the mailbox - the sum of lengths of all messages.
| |
| GetMailMessage |
Downloads a message with a specified number from the server and loads
it into an instance of MailMessage.
| |
| GetMessage(Int32, Stream) |
Downloads the message with a specified number from the server and writes
its data into a supplied stream.
| |
| GetMessage(Int32, String) |
Downloads the message with a specified number from the server and writes
its data into a local file.
| |
| GetMessageCount |
Retrieve the number of messages in the mailbox.
| |
| GetMessageHeaders |
Downloads the headers of a message with a specified number from the server and writes
it into a supplied stream.
| |
| GetMessageInfo |
Gets information about a message with the specified sequence number.
| |
| GetMessageList()()()() |
Retrieves a list of messages in the mailbox with unique IDs and lengths.
| |
| GetMessageList(Pop3ListFields) |
Retrieves a list of messages in the mailbox.
| |
| GetMessageSequenceNumber |
Converts a unique ID to sequence number. Returns the sequence number of the specified message, or null (Nothing in VB.NET) if not found.
| |
| GetMimeMessage |
Downloads a message with a specified number from the server and loads
it into an instance of MimeMessage.
| |
| GetSupportedAuthenticationMethods |
Gets the list of supported authentication methods.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| CheckConnectionState |
Checks whether the POP3 session is still connected. Throws an exception on error.
| |
| Login(GssApiProvider) |
Authenticates the user to the POP3 server using the specified GSSAPI provider.
Only supported on Windows and partially on Mono.
| |
| Login(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.
| |
| Login(String, Pop3Authentication) |
Authenticates the user to the POP3 server using an OAuth token.
| |
| Login(String, String) |
Authenticates the user to the POP3 server.
| |
| Login(String, String, Pop3Authentication) |
Authenticates the user to the POP3 server using the specified authentication method.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnCommandSent |
Raises the CommandSent event.
| |
| OnResponseRead |
Raises the ResponseRead event.
| |
| OnStateChanged |
Raises the StateChanged event.
| |
| OnTlsDebug | Obsolete. | |
| OnTransferProgress |
Raises the TransferProgress event.
| |
| ReadResponse |
Returns a single line of response of the POP3 server to the command.
| |
| Secure()()()() |
Secures the connection with TLS/SSL using default parameters.
| |
| Secure(TlsParameters) | Obsolete. | |
| SendCommand |
Sends a custom command to the POP3 server.
| |
| SetSocketFactory |
Sets the socket factory to be used to create communication sockets.
| |
| ToString |
Returns a string representation of this object.
(Overrides Object..::..ToString()()()().) | |
| Undelete |
Unmarks any messages that have been marked as deleted.
|