Re: mailbox multipart

2010-04-14 Thread janwillem
On Apr 14, 8:26 am, Tim Roberts wrote: > janwillem wrote: > > >I am trying to analyze mailboxes using an iterator: > >    for key, message in mbox.iteritems(): > > >When message is a simple mail message['date']  results the date. > >When, however, it is a multipart message this results in None. H

Re: mailbox multipart

2010-04-13 Thread Tim Roberts
janwillem wrote: > >I am trying to analyze mailboxes using an iterator: >for key, message in mbox.iteritems(): > >When message is a simple mail message['date'] results the date. >When, however, it is a multipart message this results in None. How can >you full proof get the "date", "from" and

mailbox multipart

2010-04-13 Thread janwillem
I am trying to analyze mailboxes using an iterator: for key, message in mbox.iteritems(): When message is a simple mail message['date'] results the date. When, however, it is a multipart message this results in None. How can you full proof get the "date", "from" and "to" of of a multipart mai