Topic Path: Symbol Reference > Classes > TIdSMTPEnhancedCode Class > TIdSMTPEnhancedCode Properties > Available Property
ContentsIndexHome
PreviousUpNext
TIdSMTPEnhancedCode.Available Property

Indicates if SMTP Enhanced Status Codes are used or significant in the SMTP reply.

property Available: Boolean;

Available is a Boolean property that indicates if SMTP Enhanced Status Codes are used or significant in the SMTP reply. 

Changing the value in Available to True causes the StatusClass to be set to CLASS_DEF, and both Subject and Detail to be set to NODETAILS

The default value for Available is AVAIL_DEF as assigned in Create

Available is updated automatically when writing a value using ReplyAsStr. Available contains True when a non-blank value passes the validations required for the StatusClass, Subject, and Details properties. 

Use the NumericCode or Text properties when Available is False.

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