What am I doing wrong here?

Discussion in 'Python' started by Skip Montanaro, Jul 9, 2004.

  1. Appended to this message is a simple script that uses the
    mailbox.PortableUnixMailbox class and email.message_from_file function to
    (attempt to) extract a message from a Unix mbox file. Unfortunately, it
    doesn't seem to work correctly. This code is more-or-less lifted from what
    spambayes.mboxutils.getmbox() does. Any clues about what I'm doing wrong?

    Thanks,

    Skip
     
    Skip Montanaro, Jul 9, 2004
    #1
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.