[ALUG] Are there any Python and/or mail experts here?
Chris G
cl at isbd.net
Sun Aug 12 20:14:37 BST 2007
I'm considering writing a python script to do some mailbox
manipulation but I'm finding the documentation a little confusing, or
at least a little lacking.
I'm looking at:-
http://docs.python.org/lib/mailbox-maildir.html
http://docs.python.org/lib/mailbox-mbox.html
What I can't quite get my mind round is why the Maildir sub-class of
Mailbox has list_folders(), get_folder() etc. whereas the Mbox
sub-class doesn't have these methods.
>From the user's point of view maildir and mbox mail work the same, you
can have a list of mbox folders in exactly the same way as you can
have a list of maildir folders.
In fact the Maildir sub-class documentation is not at all clear about
what you get when you call list_folders(), a list of folders at what
level in the hierarchy?
--
Chris Green
More information about the main
mailing list