What am I doing wrong here?

S

Skip Montanaro

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
 

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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top