Internet Direct (Indy)
Home
PreviousUpNext
TIdPOP3Server Class

Implements a multi-threaded POP3 server.

Pascal
TIdPOP3Server = class(TIdExplicitTLSServer);

TIdPOP3Server is a TIdExplicitTLSServer descendant that implements a multi-threaded server using the Post Office Protocol version 3 (POP3), as described in the Internet Standards documents: 

RFC 1939 - Post Office Protocol Version 3  

RFC 1734 - POP3 AUTHentication command  

RFC 1957 - Some Observations on Implementations of the Post Office Protocol (POP3)  

RFC 2595 - Using TLS with IMAP, POP3 and ACAP  

TIdPOP3 also implements support for Simple Authentication and Security Layer (SASL), as described in the Internet Standards document: 

RFC 2222 - Simple Authentication and Security Layer (SASL)  

TIdPOP3Server provides the capabilities needed to allow simultaneous client connections to access a POP3 maildrop and retrieve undelivered mail messages on the server. 

TIdPOP3Server is not intended to provide extensive manipulation operations of mail on the server; normally, mail is downloaded and then deleted. Use TIdIMAP4 and TIdIMAP4Server when a more advanced (and complex) mail protocol is required. 

TIdPOP3Server provides a dual implementation capability, mirroring the options available in TIdTCPServer, using the TIdTCPServer.OnExecute event handler or through the use of the TIdCommandHandlers collection. 

 

USER 
PASS 
LIST 
RETR 
DELE 
QUIT 
APOP 
STAT 
NOOP 
RSET 
TOP 
UIDL 

 

Use CommandHandlers and CommandHandlerEnabled to provide finer control over the implementation of the commands and event handlers for threaded client connections to the POP3 server. 

TIdPOP3Server provides methods that allow a command handler to trigger event handlers that implement the specifics of accessing the mailstore and file system for the server. TIdPOP3Server also utilizes TIdPOP3ServerThread to handle threaded client connections to the server, and allow tracking of identity, authentication, and state for the client connections to the server.

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.