Bug 468160

Summary: Body not visible when imported as Plain text
Product: [Applications] kmail2 Reporter: audun
Component: import wizardAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.22.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Example mail

Description audun 2023-04-05 03:09:07 UTC
Created attachment 157858 [details]
Example mail

SUMMARY

This is a strange bug. 

When importing mail as .eml-files through the wizard as Plain Text Emails , the body is invisible except when viewing source ("V"-button)

If I instead import each individual eml file as mbox, the body is visible and works as expected.

The .eml file is also viewable on it's own using the "File"->"Open" in KMail.


STEPS TO REPRODUCE
1. Import .eml file as Plain text, Mail file appear in kmail folder
2. Click on imported mail in kmail, no body visible
3. Open imported mail in new window, still no body visible
4. Click the menu "Message"->"View Source" in message listing, and the message appears normal

OBSERVED RESULT
No email body visible

EXPECTED RESULT
Visible email body

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Latest Arch linux
(available in About System)
KDE Plasma Version: 5.27.3
KDE Frameworks Version:  5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
I have attached an example message for testing.