TPop3Cli.Rset

From Overbyte
Jump to: navigation, search

Main page -> ICS component reference -> TPop3Cli -> Rset

Definition

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

Description

Sends RSET command to a POP3 server. This command is valid only during TRANSACTION state. If you marked some messages as deleted using Dele method, RSET command will unmark or undelete them. The messages are not actually deleted before Quit is issued. The server should reply only with positive response which you can handle in OnRequestDone event.

Delphi Example

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

C++ Example

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

Best practices

How to