Bug 113516

Summary: messages that have no body but only one attachment do not have the 'attachment' flag.
Product: [Unmaintained] kmail Reporter: Wilbert Berendsen <wbsoft>
Component: mimeAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rui.m.malheiro
Priority: NOR    
Version: 1.8.91   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Wilbert Berendsen 2005-09-28 16:45:37 UTC
Version:           1.8.91 (using KDE 3.4.91 (beta1, >= 20050910), Gentoo)
Compiler:          gcc version 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)
OS:                Linux (i686) release 2.6.11-gentoo-r1

I got a message with only one MIME-part which was a msword file. The relevant part of the header and the start of the body:

Subject: def liturgie 10.30 uurdienst
Date: Wed, 28 Sep 2005 12:07:04 +0200
Message-ID: <MEBBJFEIJCEFKEHDIPPFCEGBCKAA.blabla@bla.nl>
MIME-Version: 1.0
Content-Type: application/msword;
  name="051002TH.doc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="051002TH.doc"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
(...)
X-KMail-EncryptionState: N
X-KMail-SignatureState: N
X-KMail-MDN-Sent:  

0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAAEAAAAhwEAAAAAAAAA
EAAAiQEAAAEAAAD+////AAAAAIMBAACEAQAAhQEAAIYBAAD/////////////////////////////
////////////////////////////////////////////////////////////////////////////

etc.

The bug is that this message does not get a 'has attachment' flag.
Comment 1 Rui Malheiro 2005-11-09 12:44:28 UTC
I have a similar problem, Kmail doesn't find an attachment on a single-part massage that only has one attachment. Relevant part of an example follows:

========================
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: application/vnd.ms-excel;
  name="TESTE.xls"
Content-Transfer-Encoding: base64
Content-Description: TESTE.xls
Content-Disposition: attachment;
	filename="TESTE.xls"
Subject: teste
Date: Wed, 9 Nov 2005 11:25:48 -0000
Message-ID: <A970E3274FE69444A932EC6A3442A6120155F9BA@EXH00B.w2k.ctt.pt>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 

0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAAGQAAAAAAAAAA
EAAA/v///wAAAAD+////AAAAABgAAAD/////////////////////////////////////////////
[...]
=================================
Comment 2 Carsten Burghardt 2006-01-12 08:02:13 UTC
Can you please save the email and attach it zipped to this report? Thanks.
Comment 3 Thomas McGuire 2007-03-20 15:47:30 UTC

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