Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77528

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

Date 2014-09-04 13:52 +1000
From Cameron Simpson <cs@zip.com.au>
Subject Re: Best way to filter parts of a email.message.Message
References <20140903205958.119351c8@bigbox.christie.dr>
Newsgroups comp.lang.python
Message-ID <mailman.13757.1409802771.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 03Sep2014 20:59, Tim Chase <python.list@tim.thechases.com> 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.

Cheers,
Cameron Simpson <cs@zip.com.au>

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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Best way to filter parts of a email.message.Message Cameron Simpson <cs@zip.com.au> - 2014-09-04 13:52 +1000

csiph-web