[Mailmunge] Email parts in filter_message
list at ptld.com
list at ptld.com
Wed Oct 26 11:38:25 EDT 2022
>> 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.
Thank you for the heads up.
More information about the Mailmunge
mailing list