poplib: problem deleting mails

Fredrik Lundh effbot at telia.com
Wed Feb 2 12:06:33 EST 2000


Carsten Gaebler wrote:
> > > The POP3 object's dele() function doesn't delete messages that
> > > have a "Status: O" line in the header. Is that a bug?
> >
> > Not in Python. It must be your server. Neither the RFC nor the Python
> > module says anything about it.
>
> Must be Python because Netscape can delete those messages - on the
> same server.

hmm.  the "dele" method doesn't delete messages -- it
asks the server to delete them.  you cannot really blame
Python if the server refuses to do that...

I suspect you simply forgot to call "quit" in your program.
if you don't, the server will (most likely) roll back, and dis-
card all changes to the mailbox.

</F>





More information about the Python-list mailing list