Internet Direct (Indy) Version 9.0.1 Beta
TIdSMTPServer.OnCommandSAML
Event handler signalled to implement the SMTP SAML command.

property OnCommandSAML: TBasicHandler;
Description
OnCommandSAML is a TBasicHandler property that represents the event handler signalled to initiate a mail transaction in which the mail data is delivered to one or more terminals or mailboxes. The SMTP SAML command allows delivery of mail data to a terminal, when the user is connected to the host and accepts terminal messages, or to a recipient's mailbox.

OnCommandSAML will use the list of hosts or email addresses and the sender mailbox provided in the TIdCommand.Params found in ASender. When a list of hosts is present, they represent the reverse source route used to relay the mail message., and is used to return non-delivery notices for the message. The first host in the list is the most recent relay.

The server implementation must assign a procedure to the OnCommandSAML event handler to allow responding to the event notification. When OnCommandSAML is unassigned, the text in Message.ErrorReply is sent to the client connection.