Indy 9
THasAddress
See Also, Unit: IdSMTPServer
Event handler used for a command containing a destination email address.
THasAddress = procedure (const ASender: TIdCommand; var Accept, ToForward: Boolean; EMailAddress: string; var CustomError: string) of object;
Unit
IdSMTPServer
Parameters
Accept
Indicates if the address is accepted.
ASender
The command instance generating the event.
CustomError
Message to use when a protocol error occurs.
EMailAddress
Email address received in the command.
ToForward
Indicates if the address requires forwarding.
Description
THasAddress specifies an event handler signalled when the SMTP server executes a command that includes an email address for either a recipient on the current server, or an address that requires forwarding to another SMTP host.

THasAddress is the type used to represent the TIdSMTPServer.OnCommandRCPT 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.