Syntax
| C# |
|---|
public class Pop3 |
| Visual Basic (Declaration) |
|---|
Public Class Pop3 |
| Visual C++ |
|---|
public ref class Pop3 |
The type exposes the following methods.
Public Methods
| Name | Description | |
|---|---|---|
| APOPLogin |
Logs _user in using APOP command.
Uses _user()() and _password()() properties.
This method does NOT send the _password in clear text.
| |
| BeginConnect | Overloaded. | |
| Close | Overloaded. | |
| Connect | Overloaded. | |
| ConnectSSL |
Connects to POP3 server using SSL port 995.
| |
| DeleteMessage |
Marks specified message for deletion.
The POP3 server does not actually delete the message
until the POP3 session enters the UPDATE state -
succesful QUIT command.
| |
| EndConnect | Asynchronously accepts an incoming connection attempt. (Inherited from TcpClient.) | |
| Equals | (Inherited from Object.) | |
| GetAccountStat |
Gets stat information from server.
Fills MessageCount and MailboxSize property.
| |
| 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.) | |
| GetMessage |
Gets specified mail message form server. Use SimpleMailMessageBuilder to create ISimpleMailMessage object.
| |
| GetMessageHeader |
Gets specified mail message containing only headers. Use SimpleMailMessageBuilder to create ISimpleMailMessage object.
| |
| GetStream |
Gets SslStream or NetworkStream for current connection.
(Inherited from TcpTextClient.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ListSize | Overloaded. | |
| ListUniqueID | Overloaded. | |
| Login |
Logs _user in using _user, PASS commands.
Uses _user()() and _password()() properties.
This method sends the _password in clear text.
| |
| ReceiveLine |
Reads data from server until gets "\r\n" string.
(Inherited from TcpTextClient.) | |
| Send |
Sends the text command to server.
Adds "\r\n" to the command.
(Inherited from TcpTextClient.) | |
| SendCommand | Overloaded. | |
| SendMultiLineCommand | Overloaded. | |
| STLS |
Sends 'STLS' command and initializes SSL connection.
| |
| ToString | (Inherited from Object.) |
Protected Methods
| Name | Description | |
|---|---|---|
| CloseCommand |
Sends the Quit command. And gets server response.
(Overrides TcpTextClient..::CloseCommand()().) | |
| CreateSSLStream |
Creates SSL stream.
and authenticates client.
(Inherited from TcpTextClient.) | |
| Dispose | Releases the unmanaged resources used by the TcpClient and optionally releases the managed resources. (Inherited from TcpClient.) | |
| Finalize | Frees resources used by the TcpClient class. (Inherited from TcpClient.) | |
| GetServerGreeting |
Receives server's greeting.
Gets the timestamp.
(Overrides TcpTextClient..::GetServerGreeting()().) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnReceiveProgress |
Raises the ReceiveProgress event.
| |
| SetStreams |
Creates new Reader and
Writer objects.
With specified encoding.
Reader: Default Encoding;
Writer: ASCII Encoding.
(Overrides TcpTextClient..::SetStreams()().) |
See Also
Lesnikowski.Client Namespace