Best way to filter parts of a email.message.Message

Cameron Simpson cs at
Thu Sep 4 05:52:40 CEST 2014

On 03Sep2014 20:59, Tim Chase <python.list at> wrote:
>- mime-parts can be nested, so I need to recursively handle them

Just to this. IIRC, the MIME part delimiter is supposed to be absolute. That 
is, it will not occur in the nested subparts, if any.

Of course that is no good to you working from outside via the email package, 
only if you're writing your own message dissector.

Cameron Simpson <cs at>

You can't wait for inspiration.  You have to go after it with a club.
         - Jack London

More information about the Python-list mailing list