in reply to Re: POP3, only retrieving new messages
in thread POP3, only retrieving new messages
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
|
|---|