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
Describe the bug
Is not uncommon that an email contains multiple printable mimeparts in a multipart/mixed. Currently only the first printable part gets displayed and the others are ignored. You need to use togglemimetree or something similar to see that there is something more there. Alot used to display all the parts, but somehow recently it has stopped doing so.
Some common cases I know of multiple multipart/mixed printable parts:
mailman mailing lists. Is common for mailman mailing list to have a multipart/mixed with:
the body of the original email
a text/plain of a footer with Content-Disposition: inline
schleuder mailing lists. Inside the encrypted email there is a multipart/mixed with two parts:
a text/plain (without any Content-Disposition) with the original headers of the email. As schleuder replaces the unencrypted headers of the email to don't leak the sender.
the original body of the email.
In the case of mailman not seeing the footer is not so bad. But in schleuder mailing lists we only see the original headers and not the body of the email.
I see the change was introduced by #1421, by f99ba2b. Before (in extract_body) there was some walk around the parts collecting a list of parts to display, after that change only one part will be selected and displayed.
@pazz is this change intentional? Should I give it a try to bring the functionality back so alot displays all multipart/mixed parts?
This was not a change I intended but also nothing I can't live with. Basically I'm very happy to delegate the extraction of a message "body text" to the email library instead of hacking or own methods.
That said, you're welcome to see if the email lib based thing can be tweaked to do what you want and make it configurable.
Describe the bug
Is not uncommon that an email contains multiple printable mimeparts in a
multipart/mixed
. Currently only the first printable part gets displayed and the others are ignored. You need to usetogglemimetree
or something similar to see that there is something more there. Alot used to display all the parts, but somehow recently it has stopped doing so.Some common cases I know of multiple
multipart/mixed
printable parts:multipart/mixed
with:text/plain
of a footer withContent-Disposition: inline
multipart/mixed
with two parts:text/plain
(without anyContent-Disposition
) with the original headers of the email. As schleuder replaces the unencrypted headers of the email to don't leak the sender.In the case of mailman not seeing the footer is not so bad. But in schleuder mailing lists we only see the original headers and not the body of the email.
Software Versions
To Reproduce
Steps to reproduce the behaviour:
togglemimeparts
The text was updated successfully, but these errors were encountered: