mailbox multipart

janwillem jwevandijk at xs4all.nl
Tue Apr 13 23:54:03 CEST 2010


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 mail
using python?
Thanks janwillem




More information about the Python-list mailing list