Internet Direct (Indy) Version 9.0.1 Beta
|
function GetResponse(const AAllowedResponses: array of SmallInt): SmallInt; override;
Note: The POP3 protocol does not provide numeric response codes, but instead uses '+OK' and '-ERR' in protocol response messages. GetResponse is overridden to capture these alphabetic responses, and convert them into the values wsOk and wsErr which can be stored in the ResultNo property.
GetResponse calls the inherited CheckResponse method to determine if ResultNo is in the allowable responses for the protocol request.