Internet Direct (Indy)
Home
PreviousUpNext
EIdSMTPReplyError.CreateError Constructor

Constructor for the exception instance.

Pascal
constructor CreateError(
    const AErrCode: Integer; 
    AEnhanced: TIdSMTPEnhancedCode; 
    const AReplyMessage: string
); reintroduce;
Parameters 
Description 
AErrCode 
Numeric SMTP response code for the exception
 
AEnhanced 
The SMTP Enhanced Status Code for the exception.
 
AReplyMessage 
The enhanced status code and message text for the exception. 

CreateError is the reintroduced constructor for the exception instance. 

CreateError calls the inherited CreateError constructor using AErrCode and AReplyMessage as arguments 

CreateError initializes the TIdSMTPEnhancedCode instance assigned to the EnhancedCode property and sets the enhanced reply to the value in AReplyMessage.

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.