mailbox.py examples (Maildir)

M

Matej Cepl

Hi,

is there any example of use of mailbox.py. I would be especially
interested if anybody made a objects which would be able to .delete()
..append() etc. individual messages.

Thanks,

Matej
 
D

David M. Cooke

At some point said:
Hi,

is there any example of use of mailbox.py. I would be especially
interested if anybody made a objects which would be able to .delete()
.append() etc. individual messages.

Thanks,

mailbox.py unfortunately only reads mailboxes (although it does handle
most formats, including Maildir, which is nice).

offlineimap (gopher://gopher.quux.org/1/devel/offlineimap) [1] uses
Maildir for storing messages, so you may want to look at it.

[1] I was pretty sure gopher was dead. There's a web interface at
http://gopher.quux.org:70/devel/offlineimap/ for those of us living in
the 21st century ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top