Pop3 Methods

The Pop3 type exposes the following members.

Methods
  NameDescription
Public methodAbort
Forces MailBee to cancel all pending operations and close all opened connections as soon as possible.
Public methodCode exampleBeginConnect Obsolete.
Begins an asynchronous request for a connecting to a POP3 server.
Public methodCode exampleBeginDeleteMessage Obsolete.
Begins an asynchronous request for flagging the specified message for deletion from the server.
Public methodCode exampleBeginDeleteMessages Obsolete.
Begins an asynchronous request for flagging the specified range of messages for deletion from the server.
Public methodBeginDisconnect Obsolete.
Begins an asynchronous request for a disconnection from the server.
Public methodCode exampleBeginDownloadMessage Obsolete.
Begins an asynchronous request for downloading the specified message header or entire message from the server.
Public methodCode exampleBeginDownloadMessages Obsolete.
Begins an asynchronous request for downloading the entire or partial messages in the specified range from the server.
Public methodCode exampleBeginExecuteCustomCommand Obsolete.
Begins an asynchronous request for sending the specified user-defined command to the server and getting the response.
Public methodCode exampleBeginLogin Obsolete.
Begins an asynchronous request for a logging in an account on a POP3 server.
Public methodCode exampleBeginStartTls Obsolete.
Begins an asynchronous request to start TLS/SSL negotiation with the server.
Public methodCode exampleConnect(String)
Connects to a POP3 server on the standard POP3 port (110).
Public methodCode exampleConnect(String, Int32)
Connects to a POP3 server.
Public methodCode exampleConnect(String, Int32, Boolean)
Connects to a POP3 server.
Public methodConnectAsync(String)
async/await version of Connect(String).
Public methodConnectAsync(String, Int32)
async/await version of Connect(String, Int32).
Public methodConnectAsync(String, Int32, Boolean)
async/await version of Connect(String, Int32, Boolean).
Public methodCode exampleDeleteMessage
Flags the specified message for deletion from the server.
Public methodDeleteMessageAsync
async/await version of DeleteMessage(Int32).
Public methodCode exampleDeleteMessages
Flags all the messages in the inbox for deletion from the server.
Public methodCode exampleDeleteMessages(Int32, Int32)
Flags the specified range of messages for deletion from the server.
Public methodDeleteMessagesAsync
Public methodDeleteMessagesAsync(Int32, Int32)
async/await version of DeleteMessages(Int32, Int32).
Public methodCode exampleDisconnect
Disconnects from the POP3 server and releases any used resources.
Public methodDisconnectAsync
Public methodDispose
Closes opened network connections (if any) and releases any used system resources.
Protected methodDispose(Boolean)
When overridden in a derived class, must release unmananged and optionally managed resources used by the component.
Public methodCode exampleDownloadEntireMessage
Completely downloads the specified message from the server.
Public methodDownloadEntireMessageAsync
async/await version of DownloadEntireMessage(Int32).
Public methodCode exampleDownloadEntireMessages
Completely downloads all the messages from the inbox on the server.
Public methodCode exampleDownloadEntireMessages(Int32, Int32)
Completely downloads the messages in the specified range from the server.
Public methodDownloadEntireMessagesAsync
Public methodDownloadEntireMessagesAsync(Int32, Int32)
async/await version of DownloadEntireMessages(Int32, Int32).
Public methodCode exampleDownloadMessageHeader(Int32)
Downloads the header of the specified message from the server.
Public methodCode exampleDownloadMessageHeader(Int32, Int32)
Downloads the header and the specified number of body lines of the message on the server.
Public methodDownloadMessageHeaderAsync(Int32)
async/await version of DownloadMessageHeader(Int32).
Public methodDownloadMessageHeaderAsync(Int32, Int32)
async/await version of DownloadMessageHeader(Int32, Int32).
Public methodCode exampleDownloadMessageHeaders
Downloads headers of all messages in the inbox on the server.
Public methodCode exampleDownloadMessageHeaders(Int32, Int32)
Downloads the header of each message in the specified range from the server.
Public methodCode exampleDownloadMessageHeaders(Int32, Int32, Int32)
Downloads the header and the specified number of body lines of each message in the specified range from the server.
Public methodDownloadMessageHeadersAsync
Public methodDownloadMessageHeadersAsync(Int32, Int32)
async/await version of DownloadMessageHeaders(Int32, Int32).
Public methodDownloadMessageHeadersAsync(Int32, Int32, Int32)
Public methodEndConnect
Ends the pending asynchronous connection request.
Public methodEndDeleteMessage
Ends the pending asynchronous request for flagging the message for deletion.
Public methodEndDeleteMessages
Ends the pending asynchronous request for flagging the range of messages for deletion.
Public methodEndDisconnect
Ends a pending asynchronous disconnection request.
Public methodEndDownloadMessage
Ends the pending asynchronous request for downloading the message and returns the downloaded message.
Public methodEndDownloadMessages
Ends the pending asynchronous request for downloading the messages and returns the downloaded messages.
Public methodEndExecuteCustomCommand
Ends the pending asynchronous request for sending user-defined command to the server.
Public methodEndLogin
Ends the pending asynchronous login request.
Public methodEndStartTls
Ends a pending asynchronous TLS/SSL negotiation request.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodCode exampleExecuteCustomCommand
Sends user-defined command to the server and receives the server response to this command.
Public methodExecuteCustomCommandAsync
async/await version of ExecuteCustomCommand(String, Boolean).
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetErrorDescription
Returns a textual description of the last error.
Public methodCode exampleGetExtension
Returns the name or parameters of the specified POP3 capability.
Public methodCode exampleGetExtensions
Returns a reference to the key-value list of the server capabilities.
Public methodGetExtensionsAsync
Public methodGetExtensionValue
Returns the parameters of the specified POP3 capability, or an empty string if the capability has no parameters.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMessageIndexFromUid
Gets the message number of the message to which the specified Unique-ID is assigned.
Public methodGetMessageSize
Gets the length (in bytes) of the specified message in the inbox.
Public methodCode exampleGetMessageSizes
Gets the array of lengths (in bytes) of all messages in the inbox. The array is zero-based.
Public methodGetMessageSizesAsync
Public methodGetMessageUidFromIndex
Gets the Unique-ID string assigned to the specified message in the inbox on the server.
Public methodCode exampleGetMessageUids
Gets the array of Unique-ID's of all messages in the inbox. The array is zero-based.
Public methodGetMessageUidsAsync
Public methodGetServerResponse
Returns the last response from the server.
Public methodGetSocket
Returns the underlying Socket MailBee uses for the current network connection.
Public methodGetSocketError
Returns a Win32 error code of the last socket-related error.
Public methodGetStream
Returns the underlying Stream MailBee uses for the current network connection.
Public methodCode exampleGetSupportedAuthMethods
Returns a set of flags indicating which authentication methods are supported by the server.
Public methodGetSupportedAuthMethodsAsync
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLast
Gets the message number of the last message ever accessed in this mailbox during actual or all prior POP3 sessions.
Public methodLastAsync
Public methodCode exampleLogin(String, String)
Logs in a mailbox on the POP3 server.
Public methodCode exampleLogin(String, String, AuthenticationMethods)
Logs in a mailbox on the POP3 server.
Public methodCode exampleLogin(String, String, AuthenticationMethods, AuthenticationOptions, SaslMethod)
Logs in a mailbox on the POP3 server.
Public methodCode exampleLogin(String, String, String, String, AuthenticationMethods, AuthenticationOptions, SaslMethod)
Logs in a mailbox on the POP3 server.
Public methodLoginAsync(String, String)
async/await version of Login(String, String).
Public methodLoginAsync(String, String, AuthenticationMethods)
Public methodLoginAsync(String, String, AuthenticationMethods, AuthenticationOptions, SaslMethod)
Public methodLoginAsync(String, String, String, String, AuthenticationMethods, AuthenticationOptions, SaslMethod)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNoop
Sends a NOOP command to the server.
Public methodNoop2
Sends a command to the POP3 server to keep the connection alive.
Public methodNoop2Async
Public methodNoopAsync
Protected methodOnConnected
Used by MailBee to raise Connected event.
Protected methodOnDataReceived
Used by MailBee to raise DataReceived event.
Protected methodOnDataSent
Used by MailBee to raise DataSent event.
Protected methodOnDisconnected
Used by MailBee to raise Disconnected event.
Protected methodOnErrorOccurred
Used by MailBee to raise ErrorOccurred event.
Protected methodOnHostResolved
Used by MailBee to raise HostResolved event.
Protected methodOnLoggedIn
Used by MailBee to raise LoggedIn event.
Protected methodOnLogNewEntry
Used by MailBee to raise LogNewEntry event.
Protected methodOnLowLevelDataReceived
Used by MailBee to raise LowLevelDataReceived event.
Protected methodOnLowLevelDataSent
Used by MailBee to raise LowLevelDataSent event.
Protected methodOnMessageDataChunkReceived
Used by MailBee to raise MessageDataChunkReceived event.
Protected methodOnMessageDownloaded
Used by MailBee to raise MessageDownloaded event.
Protected methodOnSocketConnected
Used by MailBee to raise SocketConnected event.
Protected methodOnSocketCreating
Used by MailBee to raise SocketCreating event.
Protected methodOnTlsStarted
Used by MailBee to raise TlsStarted event.
Public methodStatic memberCode exampleQuickDownloadMessage(String, String, String, Int32)
Completely downloads the specified message from the server, in a single line of code.
Public methodStatic memberCode exampleQuickDownloadMessage(String, String, String, Int32, Int32)
Downloads the specified message (entire message or message header only) from the server, in a single line of code.
Public methodStatic memberCode exampleQuickDownloadMessages(String, String, String)
Completely downloads all the messages in the inbox on the server, in a single line of code.
Public methodStatic memberCode exampleQuickDownloadMessages(String, String, String, Int32)
Downloads all the messages (entire messages or message headers only) in the inbox on the server, in a single line of code.
Public methodResetDeletes
Resets the POP3 session, and cancels the deleted status for all messages flagged for deletion in the inbox.
Public methodResetDeletesAsync
Public methodResetState
Resets the internal state of the component.
Public methodCode exampleStartTls
Requests the mail server to start TLS/SSL negotiation and protect the existing connection with a security layer.
Public methodStartTlsAsync
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWait Obsolete.
Waits until the currently running (if any) asynchronous method is finished.
Public methodWait(Int32) Obsolete.
Waits the completion of the currently running (if any) asynchronous method for the specified amount of time.
Top
See Also