Solved 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
-
@ltgorm Still see at least one case with emails not rendering but can't identify any problem.
The emails are pretty old, from 2011. They were imported from an opera installation after much trouble. Worst is that if I export one of those emails and re-import it from the generated eml file, then the email does render albeit with some issues on accented chars. The eml file opened in a text editor does not have the accented char problems.
From the vivaldi client:
From a text editor:
--b1_7b9d4cc242765b80ef00c8b78fb5af9c
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bitFoi adicionada a nova recolha nº 2497
Para consultá-la visite a página da Extranet.
Não responda a este email.
--b1_7b9d4cc242765b80ef00c8b78fb5af9c
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit<p>Foi adicionada a nova recolha nº <b><u>2497</u></b></p><p>Para consultá-la visite a página da Extranet.</p><p><u>Não responda a este email</u>.</p>
--b1_7b9d4cc242765b80ef00c8b78fb5af9c--
The only difference visible from the raw message view is an extra line break at the end of the re-imported message.
-
Just discovered this thread.
Ironically, just last weekend when I finally imported all my mail from Opera 12 into Vivaldi, I noticed a number of old messages suffered from this problem of showing blank unless I clicked to see the raw message. Fine in most cases but not when images are attached.
Hopefully the latest release fixes this. Can't recall the details of any messages I can check, though...
-
Well, well, well... some older mails of mine - for example all automatic replies [JIRA] to my Vivaldi bug reports of the previous year (2022)- are facing the same problem... body is blank and
Show Raw Message, Show Message as Text, Show Message as HMTL
do nothing. Double-clicking on the message is blank as well. Vivaldi 6.2.3070.3 / Chrome 116.0.5845.18 Not good, @Vivaldi for something that is being worked so, so much after the initial release. Saddens me to say that, but it is stillbeta
./edit: check 2 posts below for cause and solution
-
@npro
Hi, it is a bit strange only some user have this issue.
I checked about 20 automated mails from Jira 2020-2022 and I can read all.
The only difference Jira send it to my freenet.de account not to a vivaldi.net account.
Are your mails also imported?Cheers, mib
-
@mib2berlin said in Mail not showing body text:
Are your mails also imported?
Nope, using the mail client since 1.0
-
@npro
I add a comment to the master bug from 2017! VB-34557. -
@mib2berlin Allright, this seems to be responsible for showing blank, local folders contain (7 in this case!) copies of the same mail, one with zero size which get picked to be shown and ofc it's blank. By deleting the zero-sized file the body text is being shown, from one of the 6 copies I suppose.
So team may check (cc: @gmg @ltgorm) :
- why so many copies
- why a 0B copy that gets picked
- how to safely clean the copies and keep one file (>0B)
To clean the 0B copies, close Vivaldi, then
$ find ~/.config/vivaldi-snapshot/Default/Mail -size 0 | xargs rm -v
-
@npro have the same email and it renders in my case. The last snapshot did mess up some html mails rendering but no problem in seeing the raw message.
BTW I still consider it beta too:
@Durtro said in need some help in deciding what mail client to change to:
@mossman In my case I have some pet peeves that prevent me from suggesting vivaldi without some considerations. I find it usable in general but I do have to go to webmail from time to time due to bugs in the client as an example.
I also don't know if I would classify it as stable yet. As an example, the last snapshot bugged the rendering of html emails from a specific sender. I think it is multipart related but there are already other rendering bugs on those and they are old ones.
Have other problems but those are beside the point in this thread. Either way there is nothing better than try it yourself and see if it fits.
-
@npro
Hm, I have 5 mails from 2021 and exactly 5 .eml files in /mail.
Yourfind
command find 0 files with the size of 0 Bytes.
If I understand this correctly I never got any mail with 0 Bytes since 2017.
How do you get this folder view, in Dolphin I get: -
@mib2berlin said in Mail not showing body text:
Your find command find 0 files with the size of 0 Bytes.
If I understand this correctly I never got any mail with 0 Bytes since 2017.
How do you get this folder view, in Dolphin I get:yes, you don't have this problem.
If you right mouse click on your mail account it will offer you to reveal the data folder, or you can paste the path directly to the browser.
Cheers