TPop3Cli.Stat
		
		
		
		
		Jump to navigation
		Jump to search
		
Main page -> ICS component reference -> TPop3Cli -> Stat
Definition
<syntaxhighlight lang="delphi"> procedure Stat; virtual; </syntaxhighlight>
Description
Sends STAT command to a POP3 server. This command is valid only during TRANSACTION state. The server should reply only with positive response which you can handle in OnRequestDone event. After the reply properties MsgCount and MsgSize are filled with number of messages available on the server. MsgSize contains size in octets. For practical purposes - 1 octet means '1 byte which holds 8 bits'.
Delphi Example
<syntaxhighlight lang="delphi"> Pop3Cli.Stat; </syntaxhighlight>
C++ Example
<syntaxhighlight lang="cpp"> Pop3Cli->Stat(); </syntaxhighlight>