Internet Direct (Indy) Version 9.0.2 Beta
|
TIdPOP3Server = class(TIdTcpServer)
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.
When using the OnExecute event handler to implement execution of threaded client connections, TIdPOP3Server provides event handlers to respond to the following POP3 commands and extensions:
TIdPOP3Server also implements properties needed to track the state of client connections, and determine the valid POP3 commands for the indicated session state.
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.