TPop3Cli.Stat

From Overbyte
Revision as of 17:07, 19 September 2010 by Phz (talk | contribs) (Created page with ' Main page -> ICS component reference -> TPop3Cli -> Stat == Definition == <syntaxhighlight lang="delphi">…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>

Best practices

How to