Re: [Evolution] options on download



I assume that it remembers the UID of the message? Because the assigned
number to each message obviously changes if the other messages are deleted

Okay, so I understand that much, but a lot of POP providers have messed up
UID system.
How, then, does this work? The only way I see this as being possible
(correct me if I'm wrong) is to download the header again and check the
"Message-Id" header field, is this the way Netscape does/did it?

And then, at this point, I assume that the message should be downloaded via
RETR and then overwrite the partial message in the mbox file?

I'm not 100% sure how Netscape saves it's messages, but this might not
easily work in an mbox file, in something like MH it would be easy though
(doesn't that format have a separate file for each message? or am I
thinking of a different format?)

Jeff

On Fri, 02 Jun 2000, Jamie Zawinski wrote:
Date: Fri, 02 Jun 2000 02:05:22 -0700
To: evolution helixcode com
From: Jamie Zawinski <jwz jwz org>
Subject: Re: [Evolution] options on download

NotZed wrote:

The only way to get only a partial message in pop is to close
(abort) the connection, and then you have to reconnect to get the next
message - which is probably slower than getting another few k'
of data (over a compressed modem link especially).  It also
stuffs up the pop server state ...

No, you can use the POP3 "TOP" command to get the headers of a message
plus the first N lines of its body.  You don't have to tear down the
connection.

Netscape Mail has done this from the beginning, with its "Max Message
Size" preference.  It looks at LIST, and if POP3 says the message is
over that size, then it downloads the first 10 lines or so, and tags the
message (via a bit in X-Mozilla-Status) as being a partial message.
At display time, the message display includes a box that says "this is a
partial message, click here to download the rest of it."  Clicking that
reconnects, downloads the whole message, and marks the partial as
deleted, and selects the newly-downloaded replacement.

-- 
Jamie Zawinski
jwz jwz org             http://www.jwz.org/
jwz dnalounge com       http://www.dnalounge.com/


-- 
Spruce: I have 1 simple request, and that is to have sharks with freakin'
lazer beams attached to their heads





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]