Mail not showing body text
-
@ltgorm Download my m3missingbody.zip, extract it and import the 2 emails files (reduced testcases) in Vivaldi Mail and open them in Thunderbird for comparison. You should see that the body shows for both messages in Thunderbird and only for the one in Vivaldi.
The testcases are based on this message source posted above.
The problem seems to be that when there's a missing end boundary in this case, the parser doesn't imply one when hitting the end of the file/source, where as Thunderbird does.
The testcases and the original message above that they're based on are kind of funky because they're multipart/alternative with only a single part, but that's how the original message is above that works fine in other clients, so...
-
@burnout426 This is nice consise test example that fails also for me. Thanks. We will now make sure we tolerate messages with missing end boundary.
-
@burnout426 A fix has been submitted and has gone through the build pipes. Now it just needs to get through the delivery pipes.
-
-
@ltgorm also saw the fix in the changelog. In my case and regarding a message sent by a MacOS client, I still don' t see the full body of the message. Only the signature appears. Have to change the setting to show messages as text to see the body.
Have other use cases but those are in another pc.
-
@ltgorm said in Mail not showing body text:
It turns out that our parser does not tolerate that the Content-Type header and its accompanying boundary attribute are split up between lines. I don't know if that splitting is a result of pasting/inserting the message here into this discussion or if it was so in the original raw message file. But I guess that we have to tolerate either way. But if that was on one line in the original raw file then I have still to find another cause for this to fail.
In this message source above, the Content-Type header being on multiple lines should be fine if the 2nd line there starts with a space or tab to continue the header (like with folding and similar to paramter value continuation lines starting with a space. That 2nd line not starting with a space in the post is indeed probably only like that because the message wasn't posted as code/preformatted text on here and the space got lost. I'm guessing the original source has that space.
Bad (Thunderbird doesn't handle it either):
Content-Type: multipart/alternative; boundary="----=_Part_2142735_1181057435.1680540868778"
Good (both Vivaldi and Thunderbird handle it fine):
Content-Type: multipart/alternative; boundary="----=_Part_2142735_1181057435.1680540868778"
-
@ltgorm checked the other use cases I have and can confirm that some "ancient" html mails (2012) do now render fine for me.
Those from apple Mail still do not render correctly.
Some other "renderization" bugs are still present:
-some mails with ics files that do not show the calendar options dialogue. (VB-95253);-some mails show the presence of attachments but no file list to download (VB-97582). They do have attachments if I go through gmail web client:
and from the images above it appears to have a visual bug on the message list alignment. Never noticed that.-some emails started to show 2 from addresses when they did not before (VB-96396):
They do have both a Sender and From header with the same email but as I said, the behavior changed around September 2022 on the snapshots. An email from 30/08/2022 show the from header in the client as only one address. Then starting with an email from 03/10/2022 it starts showing 2 addresses. -
@Durtro said in Mail not showing body text:
Those from apple Mail still do not render correctly.
Example source of Apple Mail message?
-
@burnout426 I reported the bug as VB-83204. In a reply to that bug I included an eml file of the affected message.
@Durtro said in Mail not showing body text:
Reported bug VB-83204. Replied to that same bug report with an eml file attached and exhibiting the problem.
On vivaldi client I only see part of the signature despite the content showing in the raw message. In vivaldi and google webmail I see the message in full.
The eml exemplifies only a case. The problem isn't prevalent but it does affect more messages and I do have more cases.
Don't know the status of the bug report, From another reply on this thread:
@DoctorG said in Mail not showing body text:
Apple's Mail is a trouble maker if their mails were opened in different other mail clients.
Apple breaks the rules creating attachments and HTML/Plain text body.The confirmed bugs
- VB-34557 "[Mail] text missing in multipart mail"
- VB-60553 "[Mail] Invisible content"
-
@Durtro
Hi, VB-83204 is closed as duplicate of the master bug VB-34557 which is confirmed, developer assigned.
I add a link to this thread.Cheers, mib