STAT / LIST command is the same?

Giganews Newsgroups
Subject: STAT / LIST command is the same?
Posted by:  Indy (t.ka…@hccnet.nl)
Date: Mon, 22 Sep 2008

Hello,

In function TIdPOP3.RetrieveMailBoxSize the STAT command sends a LIST...
According to the RFC 1939 this is wrong.
The LIST should return the individual mail size (eg a record) if AMsgNo > 0
or a "scan listing" AMsgNo < 1 .

Now it doesn't really mather if  I call RetrieveMsgSize(i) or
RetrieveMailBoxSize it always ends in LIST, while RetrieveMailBoxSize should
send the STAT command and not a LIST.

Can you explain why this is implemented this way?

TIA, Tony.

Replies