Topic Path: Symbol Reference > Classes > TIdSMTPBase Class > TIdSMTPBase Properties > UseEhlo Property
ContentsIndexHome
PreviousUpNext
TIdSMTPBase.UseEhlo Property

Indicates the SMTP client desires authetication type information from the SMTP server.

property UseEhlo: Boolean;

UseEhlo is a Boolean property that indicates the SMTP client desires authetication type information from the SMTP server. When UseEhlo is True, the client will connect with the SMTP EHLO greeting that instructs the server to send supported authentication types after the banner greeting. 

UseEhlo is used when connecting and prior to sending the value from HeloName (or LocalName) to the SMTP server. 

When UseEhlo is True, the client identification is sent using the SMTP EHLO command. Authentication types supported by the server are captured upon successful completion of the EHLO command. 

When UseEhlo is False, the SMTP HELO command is used for client identification.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.