Topic Path: Symbol Reference > Classes > TIdPOP3 Class > TIdPOP3 Methods > KeepAlive Method
TIdPOP3.KeepAlive Method

Prevents a connection timeout.

procedure KeepAlive;

KeepAlive is a procedure used to ensure that the POP3 protocol session remains open and valid. 

KeepAlive sends the POP3 NOOP command to avoid a session timeout for the POP3 client. TIdPOP3 can use KeepAlive when performing time consuming operations, such as maintaining mail folders and messages on local file system, after the POP3 session has be started in Connect.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.