Yes, that's what I did when I was writing my email app (just learning,
with Pike/GTK :). I think that is how the other clients do
it also.
Without a module, it would connect, list messages,
and foreach message, do a top [id] 0 (to just get the headers),
then parse out the Message-ID: field. I then kept a list
(in Pike, a multiset was easiest) of all msgid's I've seen already,
and only download a message (retr) that I hadn't seen.
Of course, the module would do most of the for you. You would just
have to keep a list of the msgid's.
The previous message said the same thing, I realize, but I wanted
to reiterate/confirm it.
Anyway...
riffraff
| [reply] |