The Pop3 type exposes the following members.

Methods

  NameDescription
Public methodAttach(Socket)
Attaches client to specified socket.
(Inherited from TcpTextClient.)
Public methodAttach(Socket, Boolean)
Attaches client to specified socket.
(Inherited from TcpTextClient.)
Public methodAttachSSL
Attaches client to specified socket.
(Inherited from TcpTextClient.)
Public methodCapability
Sends CAPA command.
Public methodClose()()()()
Issues quit command (CloseCommand()()()() method), closes the connection, disposes the object.
(Inherited from TcpTextClient.)
Public methodClose(Boolean)
Issues quit command (CloseCommand()()()() method) and closes the connection.
(Inherited from TcpTextClient.)
Protected methodCloseCommand
Sends the QUIT command.
(Overrides TcpTextClient..::..CloseCommand()()()().)
Public methodConnect(String)
Connects to POP3 server on port 110. Use ConnectSSL(String) when SSL connection is needed.
Public methodConnect(IPEndPoint, Boolean)
Connects to server.
(Inherited from TcpTextClient.)
Public methodConnect(String, Int32)
Connects to server. Use ConnectSSL(String, Int32) when SSL connection is needed.
(Inherited from TcpTextClient.)
Public methodConnect(IPAddress, Int32, Boolean)
Connects to server.
(Inherited from TcpTextClient.)
Public methodConnect(String, Int32, Boolean)
Connects to server.
(Inherited from TcpTextClient.)
Public methodConnectSSL(String)
Connects to POP3 server using SSL on port 995.
Public methodConnectSSL(String, Int32)
Connects to server using SSL.
(Inherited from TcpTextClient.)
Public methodDeleteMessage
Marks specified message for deletion. POP3 server does not actually delete the message until successful QUIT command issued by Close()()()() or Close(Boolean).
Public methodDeleteMessageByUID
Deletes message specified by the uid. POP3 server does not actually delete the message until successful QUIT command issued by Close()()()() or Close(Boolean).
Public methodDispose
Releases all resources acquired by this object. Closes connection, without issuing any quit commands.
(Inherited from TcpTextClient.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAccountStat
Gets stat information from server.
Public methodGetAll
Gets UIDS of all messages.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetHeaders
Gets specified mail message containing only headers. Use MailBuilder to create IMail object.
Public methodGetHeadersByUID
Gets headers of the specified mail message from server. Use MailBuilder to create IMail object.
Public methodGetMessage
Gets specified mail message from server. Use MailBuilder to create IMail object.
Public methodGetMessageByUID
Gets specified mail message from server. Use MailBuilder to create IMail object.
Protected methodGetServerGreeting
Receives server's greeting. Gets the timestamp. Issues CAPA command.
(Overrides TcpTextClient..::..GetServerGreeting()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodListSize()()()()
Returns the size (in bytes) of all messages. Keys are message numbers (starting from 1), value is size of the message.
Public methodListSize(Int64)
Returns the size (in bytes) of specified message in bytes.
Public methodListSizeByUID()()()()
Returns the size (in bytes) of all messages. Keys are message uids, value is size of the message.
Public methodListSizeByUID(String)
Returns the size (in bytes) of specified message in bytes.
Public methodListUniqueID()()()()
Sends UIDL command to the pop3 server. Returns a key value collection. Keys are message numbers (starting from 1) value is a unique-id of the message.
Public methodListUniqueID(Int64)
Sends UIDL command to the pop3 server. Returns line with the unique-id for that message.
Public methodLogin
Logs user in using USER and PASS commands. This method sends the password in clear text, unless SSL connection is used.
Public methodLoginAPOP
Logs user in using APOP command. This method does NOT send the password in clear text.
Public methodLoginCRAM
Logs user in using AUTH CRAM-MD5 command. This method does NOT send the password in clear text.
Public methodLoginDIGEST
Logs user in using AUTH DIGEST-MD5 command. This method does NOT send the password in clear text.
Public methodLoginPLAIN(String, String)
Logs user in using AUTHENTICATE PLAIN command. This method sends the password in clear text (BASE64), unless SSL connection is used.
Public methodLoginPLAIN(String, String, String)
Logs user in using AUTH PLAIN command. This method sends the password in clear text (BASE64), unless SSL connection is used.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNoop
Always succeeds. It does nothing. Can also be used to reset any inactivity auto-logout timer on the server.
Public methodSend
Sends the text command to server. Adds "\r\n" to the command.
(Inherited from TcpTextClient.)
Public methodSendCommand(String)
Sends command which expects to receive single-line response e.g. "STAT".
Public methodSendCommand(String, Boolean)
Sends command which expects to receive single-line response e.g. "STAT".
Public methodSendMultiLineCommand(String)
Sends command which expects to receive multi-line response e.g. "RETR".
Public methodSendMultiLineCommand(String, Boolean)
Sends command which expects to receive multi-line response e.g. "RETR".
Public methodSTLS
Sends 'STLS' command and initializes SSL connection (issues CAPA command).
Public methodSupportedAuthenticationMethods
Lists authentication methods supported by the remote server.
Public methodSupportedExtensions
Lists extensions supported by the remote server (e.g. STLS, TOP)
Protected methodSwitchToSSL
Switches to SSL stream, authenticates as client.
(Inherited from TcpTextClient.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodUseBestLogin
Logs user in using best available method.

See Also