Internet Direct (Indy) Version 9.0.1 Beta
|
property OnCommandSEND: TBasicHandler;
OnCommandSEND is used with the list of hosts and the sender email address found in the TIdCommand.Params values found in ASender.
When the list of hosts is present, it is a reverse source route and indicates that the mail was relayed through each host on the list. The first host in the list was the most recent relay. This list is used as a source route to return non-delivery notices to the sender.
An SMTP server implementation must assign a preocedure to the OnCommandSEND event handler to allow responding to the event noticication. When OnCommandSEND is unassigned, the text in Messages.ErrorReply is sent to the client connection.