Fast mailbox parsing

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


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

My first try can be found on


More information about the Python-list mailing list