Created attachment 105107 [details] Error message Please have a look at the attached screenshot - the mail contains 3 attachments, but when I try to save them with 'save all attachments', an error message pops up that no attachments are found.
Can we have a test case ?
I will send you a PM
Just noticed this is still an issue in KMail 5.19.2 Mail was sent from X-Mailer: Apple Mail (2.3654.60.0.2.21) KDE Plasma Version: 5.24.1 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2
I don't think this is a bug. If you look closely, the listed attachments have a background color. But they don't always have that. I don't know what this signifies, perhaps someone from the KDE/KMail team can clarify? I suspect it has something to do with spam/security checks. Anyway, 'Save Attachments' will only see the attachments that don't have a background color. I will try to attach a screenshot where you can see the difference. There are 6 attachments in this email, five of them PNG images, they have a background color (purple in my case). One is a PDF without a background. When I right click 'Save Attachments' it only saves the PDF. I have another email containing multiple XLSX files. All of them have a background color. When I click 'Save Attachments', I get the message 'Found no attachments to save'. So I think this works as intended (in the original screenshots the attachments also have backgrounds), only it's not clear to the user why no attachments are found.
Created attachment 148279 [details] Attachments with/without background color
Not sure if I understand 'background color'. You mean the way it is presented in KMail? I have just received a bunch of mails again, no text, just pictures, and it does not find a single attachment to save! .... MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1908714_145766611.1650574664227" X-Comaas-Tenant: ek X-Message-ID: a9817e00-c1b5-11ec-9087-2fdfe5a3956e X-Conversation-ID: 1r28:85xdr6:2hfcm3vfx Date: Thu, 21 Apr 2022 22:57:44 +0200 (CEST) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 1259186 X-purgate-ID: 149169::1650574668-00000001-C477BE70/0/0 ------=_Part_1908714_145766611.1650574664227 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Schmidt =C3=BCber eBay Kleinanzeigen replied to your ad : =20 ------=_Part_1908714_145766611.1650574664227 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1"> </head> <body vlink="#001e9b" alink="#001e9b" link="#001e9b" bgcolor="#ffffff"> </body> </html> ------=_Part_1908714_145766611.1650574664227 Content-Type: image/jpeg; name=IMAGE_1650574648742_8441350525493933700.jpg Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=IMAGE_1650574648742_8441350525493933700.jpg /9j/4QBqRXhpZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA .....
PS: Kmail 5.19.3
(In reply to Axel Braun from comment #6) > Not sure if I understand 'background color'. You mean the way it is > presented in KMail? > I have just received a bunch of mails again, no text, just pictures, and it > does not find a single attachment to save! > > .... > MIME-Version: 1.0 > Content-Type: multipart/alternative; > boundary="----=_Part_1908714_145766611.1650574664227" > X-Comaas-Tenant: ek > X-Message-ID: a9817e00-c1b5-11ec-9087-2fdfe5a3956e > X-Conversation-ID: 1r28:85xdr6:2hfcm3vfx > Date: Thu, 21 Apr 2022 22:57:44 +0200 (CEST) > X-purgate-type: clean > X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de > X-purgate: This mail is considered clean (visit http://www.eleven.de for > further information) > X-purgate: clean > X-purgate-size: 1259186 > X-purgate-ID: 149169::1650574668-00000001-C477BE70/0/0 > > > ------=_Part_1908714_145766611.1650574664227 > Content-Type: text/plain; charset=utf-8 > Content-Transfer-Encoding: quoted-printable > > Schmidt =C3=BCber eBay Kleinanzeigen replied to your ad : > > =20 > > ------=_Part_1908714_145766611.1650574664227 > Content-Type: text/html; charset=utf-8 > Content-Transfer-Encoding: 7bit > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > <html> > <head> > <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> > <meta name="viewport" content="width=device-width,initial-scale=1, > maximum-scale=1"> > </head> > <body vlink="#001e9b" alink="#001e9b" link="#001e9b" bgcolor="#ffffff"> > > </body> > </html> > ------=_Part_1908714_145766611.1650574664227 > Content-Type: image/jpeg; name=IMAGE_1650574648742_8441350525493933700.jpg > Content-Transfer-Encoding: base64 > Content-Disposition: attachment; > filename=IMAGE_1650574648742_8441350525493933700.jpg > > /9j/4QBqRXhpZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > ..... Text background color for the attachments in the mail header. See the picture I attached.
Git commit 4b045ec19f62dcd270d0af4e11af483eb160e414 by Laurent Montel. Committed on 14/10/2022 at 07:15. Pushed by mlaurent into branch 'release/22.08'. Fix bug 378985: KMail 5.4.3: Save all attachements -> no attachments found FIXED-IN: 5.21.40 M +10 -9 src/kmime_content.cpp https://invent.kde.org/pim/kmime/commit/4b045ec19f62dcd270d0af4e11af483eb160e414