TPop3Cli.Noop

From Overbyte
Revision as of 16:21, 19 September 2010 by Phz (talk | contribs) (Created page with ' Main page -> ICS component reference -> TPop3Cli -> Noop == 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 -> Noop

Definition

<syntaxhighlight lang="delphi"> procedure Noop; virtual; </syntaxhighlight>

Description

Sends NOOP command to a POP3 server. This command is valid only during TRANSACTION state. It doesn't do anything useful in particular but you can use it to prevent idle-timeout by sending it periodically. The server should reply only with positive response which you can handle in OnRequestDone event.

Delphi Example

<syntaxhighlight lang="delphi"> Pop3Cli.Noop; </syntaxhighlight>

C++ Example

<syntaxhighlight lang="cpp"> Pop3Cli->Noop(); </syntaxhighlight>

Best practices

How to