Internet Direct (Indy) Version 9.0.1 Beta
TIdSMTPServerThread
Implements a thread of execution for SMTP client connections.

TIdSMTPServerThread = class(TIdPeerThread)
Description
TIdSMTPServerThread is a TIdPeerThread that specifies properties and method needed to implement a thread of execution for SMTP client connections in the multi-threaded SMTP server.

TIdSMTPServerThread implements properties that indicate the current connection and transaction state for the peer connection including the From, HELO, and RCPTList properties.

TIdSMTPServerThread is assigned to TIdSMTPServer.ThreadClass, and represents the class instance used for constructing new threads for connections accepted in the in the listener thread.

TIdSMTPServerThread is used in TIdCommand to provide the peer connection thread context an executing command handler. TIdSMTPServerThread is also used in the various procedures that implement the actions performed by command handlers, including CommandData, CommandMail, CommandRcpt, CommandRSET, CommandHELO, and CommandEHLO.