[Mailmunge] Email parts in filter_message
Dianne Skoll
dianne at skollsoft.com
Wed Oct 26 11:32:37 EDT 2022
On Wed, 26 Oct 2022 11:12:19 -0400
list--- via Mailmunge <mailmunge at lists.mailmunge.org> wrote:
> If you talking about being able to process the text of the email
> body, this is how i did it.
[...]
Uh... your code will not fully process a deeply-nested MIME entity. MIME
can be nested to an arbitrary depth, so you need a recursive function
to fully process all the parts. For example, you can have a MIME
entity that looks like this:
multipart/alternative
text/plain
multipart/mixed
text/html
image/png
Your filter will not process the inner text/html part.
Regards,
Dianne.
More information about the Mailmunge
mailing list