Re: for Andrew Neillans

Giganews Newsgroups
Subject: Re: for Andrew Neillans
Posted by:  Andrew Neillans (an…@neillans.co.uk)
Date: Wed, 16 Jul 2003

Many thanks for spotting that - will get the zip updated asap :)

The ...CommandList one is redudant.

--
Andy

--------------------------
Indy Dedicated News Groups:
Server: news.atozedsoftware.com
Groups: atozedsoftware.indy.*
"Marcello Scala" <marcello.sca…@email.it> wrote in message
news:18CFA0A13F77E240marcello.sca…@email.it...
> Hi Andy.
> In your newest POP3Server demo, there is last duplicate procedure:
>
> procedure TfrmMain.IdPOP3Server1CommandLIST(AThread: TIdPeerThread;
>  AMessageNum: Integer);
> begin
> AThread.Connection.WriteLn('+OK 1 messages (40 octets)');
> AThread.Connection.WriteLn('1 40');
> AThread.Connection.WriteLn('.');
> end;
>
> This procedure is not correct because it's present this procedure:
>
> procedure TfrmMain.IdPOP3Server1LIST(ASender: TIdCommand;
>  AMessageNum: Integer);
> begin
> // Here you return a list of available messages to the client
>  ASender.Thread.Connection.WriteLn('+OK 1 40');
>  ASender.Thread.Connection.WriteLn('1 40');
>  ASender.Thread.Connection.WriteLn('.');
>  // The trailing . line is IMPORTANT!!
> end;
>
> i hope this is for you useful.
>
> Regards Marcello

Replies

None

In response to

for Andrew Neillans posted by Marcello Scala on Wed, 16 Jul 2003