Internet Direct (Indy)
Home
PreviousUpNext
TIdPOP3.Connect Method

Opens a POP3 client connection.

Pascal
procedure Connect; override;

Connect is a procedure used to establish a connection to the POP3 server using the values specified in the Host and Port properties. 

Connect resets the HasCAPA property to False. 

When UseTLS indicates transport-level security is desired, Connect adjusts the passthrough property of the IOHandler to match the value in UseTLS

Connect calls the inherited Connect method, and waits for a valid connection for the required number of milliseconds. 

Connects sets the value in GreetingBanner using the POP3 response from the server, and calls CAPA to determine if Capabilities are supported on the server implementation. 

When AutoLogin contains True, Connect calls Login to perform account authentication. Use Login top perform the account authentication manually. 

Use Disconnect to commit message deletions in the mailbox, and close the POP3 client connection.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.