POP3 and selective download/deletion
rpluim at grandNOSPAMpied.com
Sat Apr 5 18:11:14 CEST 2003
Dino Levy <dino_levy at mindlessSPAM.com> writes:
> On Sat, 05 Apr 2003 17:43:45 +0200, Robert Pluim wrote:
> >> Unfortunately the POP3 protocol doesn't allow you download the headers
> >> of a message without downloading the whole thing. IMAP4 is much more
> >> capable, but it's also a very much more complex protocol.
> > Que? You've never heard of the TOP command?
> Hehe, I heard of it, but it doesn't help much in this case.
It doesn't? TOP <n> 1 should give you all the headers of message <n>,
which you should then be able to match against your criteria, and the
you can issue DELE commands.
For mail, remove NOSPAM and translate from French.
More information about the Python-list