Internet Direct (Indy)
Home
PreviousUpNext
TIdSMTPEnhancedCode.ReplyAsStr Property

String representation of the SMTP enhanced status code response.

Pascal
property ReplyAsStr: String;

ReplyAsStr is a String property that represents the contents of an SMTP enhanced status code response as a String value. 

Reading a value from ReplyAsStr returns a String in the form '999.999.999' when Available indicates enhanced status code responses are available in the SMTP reply. The value is the contents of the StatusClass, Subject, and Detail properties delimited by the PARTSEP character. The value is '' (empty string) when Available is False. 

Writing a value to ReplyAsStr causes the StatusClass, Subject, and Details properties to be updated when the value contains a valid enhanced status coded reply. Available is also updated to reflect the change in the values. 

If the new value is an invalid reply code, an EIdSMTPReplyInvalidReplyString is raised.

Exceptions 
Description 
With the message RSSMTPReplyInvalidReplyStr
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.