[REBOL] Re: pop problems
From: gchiu:compkarori at: 13-Oct-2002 11:21
On Sun, 13 Oct 2002 09:06:23 +1300
"Graham Chiu" <[gchiu--compkarori--co--nz]> wrote:
>This function reads from the POP port until it retrieves
>only a ".". I was thinking of returning the buffer if
>the expected number of chars are retrieved as an
>additional check.
>
Hmm. That doesn't work. Although RFC1939 says
In order to simplify parsing, all POP3 servers are
required to use a certain format for scan listings.
A scan listing consists of the message-number of the
message, followed by a single space and the exact size
of the message in octets.
the size calculation depends upon how the pop server
internally represents the end-of-line.
--
Graham Chiu