Bug 345006

Summary: Emails with attachments composed by kmail are displayed as base64 text
Product: [Applications] kmail2 Reporter: Kilian Lackhove <kilian>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: critical CC: kilian
Priority: NOR    
Version: 4.14.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screenshot of the incorrectly displyed email

Description Kilian Lackhove 2015-03-10 13:01:29 UTC
When i use kmail to send an email with a file attached and open that same email later on, kmail doesnt recognize it as email with files attached but instead displays the base64 strings. Emails that were sent from different mail clients display fine. 

Reproducible: Always

Steps to Reproduce:
1. Compose and send an email with a file attached using kmail
2. Close kmail
3. Start kmail
4. Open the sent email in kmails sent folder

Actual Results:  
kmail displays the attachments as base64 text instead of icons. There is no way to retrieve the attached file again.

Expected Results:  
kmail displays the attached files

The problem only occurs with emails that were composed using kmail. Received emails from other clients (thunderbird, outlook, gmail) display fine.
Comment 1 Kilian Lackhove 2015-03-10 13:02:34 UTC
Created attachment 91520 [details]
screenshot of the incorrectly displyed email
Comment 2 Kilian Lackhove 2015-05-27 08:58:07 UTC
I noticed that when i hit "view source" while the email is displayed correctly the Content-Type is:

Content-Type: multipart/mixed; boundary="nextPart1770771.MdPJZfNo0Q"

and after a while when the email is displayed as in the screenshot it reads:

Content-Type: text/plain; charset="US-ASCII"


So something on my system changes the email after it was sent. Maybe this is a bug in akonadi?
Comment 3 Kilian Lackhove 2016-08-03 07:14:11 UTC
it was fixed about a year ago