You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
It is impossible to sort out non-text parts (without heuristics), because everything is parsed into a list of strings and Content-Type information is thrown away.
The text was updated successfully, but these errors were encountered:
Hi @phoerious and @Pixel-Jack thanks for support.
I handled this issue as previous snipped. I added a field this all text not managed.
The body field has all text like previous version.
Describe the bug
MailParser.text_plain
returns all parts that are nottext/html
.To Reproduce
Expected behavior
text_plain
should only return parts with Content-Typetext/plain
.Raw mail
Environment:
Additional context
It is impossible to sort out non-text parts (without heuristics), because everything is parsed into a list of strings and Content-Type information is thrown away.
The text was updated successfully, but these errors were encountered: