Indy 9 | Content | Index | Reference

THasAddress2
See Also, Unit: IdSMTPServer
Event handler used for a command containing a destination email address.

    THasAddress2 = procedure (const ASender: TIdCommand; var Accept: Boolean; EMailAddress: string) of object;

Unit
IdSMTPServer
Parameters
Accept
Indicates if the address is accepted.
ASender
The command instance generating the event.
EMailAddress
Email address received in the command.
Parameters
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.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.