Difference between revisions of "TPop3Cli.Noop"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> ICS component reference -> TPop3Cli -> Noop == Definition == <syntaxhighlight lang="delphi">…')
(No difference)

Revision as of 16:21, 19 September 2010

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