Thanks. I tried that, but absolutely nothing is printed to the screen.
This is the code I am trying to use.
mbox = mailbox.MHMailbox("stat_inbox.mbox/Messages",email.message_from_file)
for msg in mbox:
print(msg) #just to see if anything is happening
Which mailbox type did you u
On Tuesday 24 July 2007 09:38, Ryan Rosario wrote:
> Hi,
>
> I have a directory that contains a bunch of email messages and I would
> like to parse them using the email and mailbox packages. The emails were
> exported from Apple Mail. From what I gather, I need to use MHMailbox, but
> I can't get