The Pop3 type exposes the following members.

Constructors

  NameDescription
Pop3
Initializes a new instance of the Pop3 object.

Methods

  NameDescription
Capability
Sends CAPA command.
CloseOverloaded.
CloseCommand
Sends the QUIT command.
(Overrides TcpTextClient..::.CloseCommand()()().)
ConnectOverloaded.
ConnectSSL
Connects to POP3 server using SSL on port 995.
CreateSSLStream
Creates SSL stream. and authenticates client.
(Inherited from TcpTextClient.)
DeleteMessage
Marks specified message for deletion. The POP3 server does not actually delete the message until successful QUIT command issued by Close()()() or Close(Boolean).
DeleteMessageByUID
Deletes message specified by the uid. Issues EXPUNGE command after.
Dispose
Releases all resources acquired by this object. Closes connection, without issuing any quit commands.
(Inherited from TcpTextClient.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetAccountStat
Gets stat information from server. Fills MessageCount and MailboxSize property.
GetAll
Gets UIDS of all messages.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetHeaders
Gets specified mail message containing only headers. Use MailBuilder to create IMail object.
GetHeadersByUID
Gets headers of the specified mail message form server. Use MailBuilder to create IMail object.
GetMessage
Gets specified mail message form server. Use MailBuilder to create IMail object.
GetMessageByUID
Gets specified mail message form server. Use MailBuilder to create IMail object.
GetMessageHeader Obsolete.
Gets specified mail message containing only headers. Use MailBuilder to create IMail object.
GetMessageHeaderByUID Obsolete.
Gets headers of the specified mail message form server. Use MailBuilder to create IMail object.
GetServerGreeting
Receives server's greeting. Gets the timestamp.
(Overrides TcpTextClient..::.GetServerGreeting()()().)
GetStream
Gets SslStream or NetworkStream for current connection.
(Inherited from TcpTextClient.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
ListSizeOverloaded.
ListSizeByUIDOverloaded.
ListUniqueIDOverloaded.
LoginOverloaded.
LoginAPOPOverloaded.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Send
Sends the text command to server. Adds "\r\n" to the command.
(Inherited from TcpTextClient.)
SendCommandOverloaded.
SendMultiLineCommandOverloaded.
SetStreams
Creates new Reader and Writer objects.
(Inherited from TcpTextClient.)
STLS
Sends 'STLS' command and initializes SSL connection.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Connected
Gets a value indicating whether the underlying Socket for a TcpClient is connected to a remote host.
(Inherited from TcpTextClient.)
HasTimeStamp
True if there was a timestamp in server's greeting (usually it means that APOP command is supported, but not always). Filled by Connect method.
MailboxSize
Size of the mail massages on server in octets. Filled by GetAccountStat()()().
MessageCount
Number of messages on server. Filled by GetAccountStat()()().
Password Obsolete.
Gets or sets the user's password.
(Inherited from TcpTextClient.)
Reader
StreamReader used for reading from network stream or SSL stream.
(Inherited from TcpTextClient.)
ReceiveTimeout
Gets or sets the amount of time a TcpClient will wait to receive data once a read operation is initiated.
(Inherited from TcpTextClient.)
SendTimeout
Gets or sets the amount of time a TcpClient will wait for a send operation to complete successfully.
(Inherited from TcpTextClient.)
SSLStream
Returns SslStream or null if SSL is not enabled.
(Inherited from TcpTextClient.)
User Obsolete.
Gets or sets the user name.
(Inherited from TcpTextClient.)
Writer
StringWriter used for writing to network stream or SSL stream.
(Inherited from TcpTextClient.)

Events

  NameDescription
ServerCertificateValidate
Event which is called for custom server validation.
(Inherited from TcpTextClient.)

See Also