Internet Direct (Indy) Version 9.0.2 Beta
TIdSMTPServer.AllowEHLO
Indicates if the server implements the EHLO command.

property AllowEHLO: boolean;
Description
AllowEHLO is a Boolean property that indicates if the SMTP server implements the Extended HELLO (EHLO) command verb used to identify the SMTP client to the SMTP server. When AllowEHLO is True, it is implied that the SMTP server implements one or more of the SMTP service extensions.

AllowEHLO is used in the TIdSMTPServer.CommandEHLO command event handler when the SMTP client has issues the SMTP EHLO command. When AllowEHLO is True, the server will send the values in Messages.Greeting.EHLOReply that indicate the server capabilities. When AllowEHLO is False, the server will send the value in Messages.Greeting.EHLONotSupported to the SMTP client connection.