Fast mailbox parsing

Kai Weber lists at glorybox.de
Wed Mar 19 20:18:02 CET 2003


Hi,

I try to find new messages in mailboxes. I use the mailbox and email
module to parse the mailbox. Looping over all messages and looking for
the Status header with msg.get('Status') is sadly very slow.

Is there a faster way of parsing mailboxes in Python? Mutt does it so
fast!

My first try can be found on http://www.glorybox.de/proto.py

Kai





More information about the Python-list mailing list