Error in idSMTPServer.pas

Giganews Newsgroups
Subject: Error in idSMTPServer.pas
Posted by:  Master Surfer (mastersurfer…@web.de)
Date: Mon, 05 Jun 2006

Hello,

I think there is an error in the unit IdSMTPServer.pas.

const from IdResourceStringsProtocols.pas:

  RSSMTPUserNotLocal = 'User %s not local; please try <%s>';

snippet from IdSMTPServer.pas:

procedure TIdSMTPServer.AddrNotWillForward(ASender: TIdCommand; const
AAddress : String = ''; const ATo : String = '');
begin
  SetEnhReply(ASender.Reply, 521, Id_EHR_SEC_DEL_NOT_AUTH,
Sys.Format(RSSMTPUserNotLocal, [AAddress]),
    TIdSMTPServerContext(ASender.Context).EHLO);
end;

on execution is an exception raised. Delphi is missing the value for the
second %s!!

is this an error in the source code?

Thanks for reply.

Greets Mastersurfer

Replies