mailbox.py examples (Maildir)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matej Cepl

    mailbox.py examples (Maildir)

    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

    --
    Matej Cepl,
    GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
    138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
  • David M. Cooke

    #2
    Re: mailbox.py examples (Maildir)

    At some point, Matej Cepl <cepl@surfbest. net> wrote:
    [color=blue]
    > 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,[/color]

    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 ;)

    --
    |>|\/|<
    /--------------------------------------------------------------------------\
    |David M. Cooke
    |cookedm(at)phy sics(dot)mcmast er(dot)ca

    Comment

    Working...