TIdSMTPServer.CommandDATA buglet

Giganews Newsgroups
Subject: TIdSMTPServer.CommandDATA buglet
Posted by:  Tim Parker-Nance (tim_…@hotmail.com)
Date: Wed, 18 May 2005

In the Indy 10 CommandData there is the following:

        Sys.StringReplace(ReceivedString,ReplaceOld,ReplaceNew);
        WriteStringToStream(AMsg, ReceivedString + EOL);

The problem is that the StringReplace is not assigned to anything, it should
be

        ReceivedString :=
Sys.StringReplace(ReceivedString,ReplaceOld,ReplaceNew);
        WriteStringToStream(AMsg, ReceivedString + EOL);

Hope that helps.

Tim

Replies