Bug 395687

Summary: Mails from Apple Mail are shown without attachment
Product: [Applications] kmail2 Reporter: naraesk <mail>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bingmybong, bugs.kde.org, dschridde+kde
Priority: NOR    
Version: 5.8.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=387423
Latest Commit: Version Fixed In:

Description naraesk 2018-06-21 10:41:53 UTC
I recieved several mails send by Apple Mail with attachment (*.odt and *.pdf). In the webmailer they look fine, but Kmail shows no attchment for these mails.

The mail code contains something like

Content-Type: multipart/alternative;
boundary="Apple-Mail=_682EBA32-6E79-4481-A723-AD4C4F5EB65B"
Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\))

and

--Apple-Mail=_3F105A33-15E5-44DE-A56B-168A0F6FB591
Content-Disposition: attachment;
	filename=XXX.odt
Content-Type: application/vnd.oasis.opendocument.text;
	x-unix-mode=0644;
	name="XXX.odt"
Content-Transfer-Encoding: base64

For all other mails I have no problems with attached files. But all mails with missing attachment have this Apple Mail lines included.
Comment 1 BingMyBong 2018-12-21 15:44:38 UTC
I can confirm that I am also getting this problem.  No attachments are visible or even acknowledged in kmail2. 

opensuse:tumbleweed:20181218
Qt: 5.12.0 KDE Frameworks: 5.52.0 - KDE Plasma:  5.14.4 - kwin 5.14.4
kmail2 5.9.3 - akonadiserver 5.9.3 - Kernel:  4.19.7-1-default
Comment 2 BingMyBong 2018-12-22 12:22:53 UTC
(In reply to BingMyBong from comment #1)
> I can confirm that I am also getting this problem.  No attachments are
> visible or even acknowledged in kmail2. 

if you hit ctrl-alt-d, it shows the structure with all the correct attachments

> 
> opensuse:tumbleweed:20181218
> Qt: 5.12.0 KDE Frameworks: 5.52.0 - KDE Plasma:  5.14.4 - kwin 5.14.4
> kmail2 5.9.3 - akonadiserver 5.9.3 - Kernel:  4.19.7-1-default
Comment 3 Erik Quaeghebeur 2018-12-22 21:08:42 UTC
(In reply to naraesk from comment #0)
> The mail code contains something like
> 
> Content-Type: multipart/alternative;
> boundary="Apple-Mail=_682EBA32-6E79-4481-A723-AD4C4F5EB65B"
> Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\))
> 
> and
> 
> --Apple-Mail=_3F105A33-15E5-44DE-A56B-168A0F6FB591
> Content-Disposition: attachment;
> 	filename=XXX.odt
> Content-Type: application/vnd.oasis.opendocument.text;
> 	x-unix-mode=0644;
> 	name="XXX.odt"
> Content-Transfer-Encoding: base64
The parts you present do not show the full MIME structure. Please give the full MIME structure. The easiest way to do this is to save the mail, strip it of personally identifying info (you can remove any MIME part contents) and attach it here.
Comment 4 Dennis Schridde 2021-01-25 18:21:39 UTC

*** This bug has been marked as a duplicate of bug 387423 ***