Internet Direct (Indy) Version 9.0.2 Beta
THasAddress2
Event handler used for a command containing a destination email address.

THasAddress2 = procedure (const ASender: TIdCommand; var Accept: Boolean; EMailAddress: string) of object;
Description
THasAddress2 specifies an event handler signalled when the SMTP server executes a command that includes an email address that is the Originator of the message.

THasAddress2 is the type used to represent the TIdSMTPServer.OnCommandMAIL event handler triggered by the corresponding CommandHandler.