Bug 98174

Summary: new search rule : by attached file's filename
Product: [Unmaintained] kmail Reporter: Gael Beaudoin <gaboo>
Component: searchAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WAITINGFORINFO    
Severity: wishlist CC: danny.kukawka, luigi.toscano, moabi2000
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gael Beaudoin 2005-01-29 22:53:47 UTC
Version:           3.3.91 (using KDE KDE 3.3.91)
Installed from:    Gentoo Packages
Compiler:          gcc 3.3.5 
OS:                Linux

I have lots of email, lots of folders. I often use emails to send and receive files.

It would be very usefull to be able to search for an attached file by its filename.

I know that I can search in the body, or head and it sometimes work. But a real filaname search would be more acurate as you could use joker ( "*", "?" ) and you would only get emails that really contain attached files.

An example : imagine you are looking for a file named "testfile.txt". If you have only few emails that contain "testfile.txt" wheather in the body or as an attached file, it's ok.

But if you have dozens of emails containing "testfile.txt", then the search is likely to be useless.
Comment 1 Danny Kukawka 2005-01-29 23:22:41 UTC
Hi,

you can use this to find files (for example ):

<message>  contains  filename="Scan0790.pdf" 

but it should be easy to implement this.
Comment 2 Gael Beaudoin 2005-01-29 23:45:06 UTC
Indeed :)

Few months ago, I wrote a small class to read rfc822 based email and I can say that the "filename="Scan0790.pdf"" line isn't always present for a multipart email. So that will not work all the time.

But it's a good idea though, I will do like that until something different is implemented.
Thanks.
Comment 3 Christophe Marin 2009-08-20 21:11:17 UTC
*** Bug 166520 has been marked as a duplicate of this bug. ***
Comment 4 Myriam Schweingruber 2012-08-18 08:21:34 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 5 Luigi Toscano 2012-08-19 00:44:30 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.