Version: unknown (using KDE 3.5.6, Arch Linux) Compiler: Target: i686-pc-linux-gnu OS: Linux (i686) release 2.6.20-ARCH The function "Save All Attachements" fails to scan Encapsulated messages (multipart/mixed containing multipart/mixed with attachements) for attachements reproduce: have an email with this structure: *This email -body part (Plain Text) -body part (Email Message) \--An Encapsulated message -internal part (Plain Text) -some attachement (PDF document) -some other attachement (XLS document) -body part (Plain Text) try in message structure viewer: "Save All Attachements" -> "Found no attachments to save." if you open the Encapsulated message separately and in the structure viewer try to save all attachements, it works fine. while this is actually the correct behaviour (the top message did not have any attachements besides the encapsulated email that has), it is not the human-expected behaviour. that's why i would suggest to offer an option to save really "all" attahcements or offer (only for emails that contain encapsulated messages) the option to save all attachements inside the encapsulated message clicked on right.
Any chance you can arrange a small test mail and attach it to the bugreport?
the messages that have this original problem are all composed in X-Mailer: Novell GroupWise Internet Agent 6.5.3 unfortunately, all these messages i have are confidental. i also cannot ask the sender to do some test-emails in the near future. i'll try to remove confidental information out of such an email and try to reproduce and if it behaves same, i will post it here. if i try to forward a message to myself (as attachement, containing attachements) in kmail, i get a slightly different structure of teh email and if i try to save all attachements, it tries to save the encapsulated email as "forwarded message" as one file. i expected it to offer actually to save the attachements as single files... but also here it helps opening the encapsulated message in separate window and then saving attachements works as expected.
Created attachment 20183 [details] test email generated by kmail trying to save all attachements from the encapsulated email results in saving a "forwarded message" single file (whole encapsulated email)
just found another email with the same structure and behaviour as first described. email agent is: X-Mailer: Apple Mail (2.734)
Created attachment 20184 [details] test email with the "found no attachements to save" symptoms this is a modified (removed confidental content) email with the symtoms described first in this bug
*** Bug 120642 has been marked as a duplicate of this bug. ***
Hi, I don't know if it's related, but it seems kmail can't detect untitled parts. I've got a mail - received from Lotus Notes... - which structure is : main multipart/mixed |__ body part multipart/related |__ internal part multipart/alternative |__ internal part text/simple \__ internal part text/html |__ internal part image/gif |__ internal part image/gif |__ internal part image/gif |__ internal part image/gif |__ internal part image/gif |__ internal part image/gif |__ internal part image/gif \__ internal part image/gif \__ C.htm text/html When I choose "Save all attachments" it only detects C.htm. I suppose it may be related to this issue here since I've had similar messages without C.htm part saying the said "found no attachments to save" statement.
*** Bug 162032 has been marked as a duplicate of this bug. ***
Confirmed in KDE 4.3 with provided test mail
Thank you for taking the time to file a bug report. KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2. We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.