Bug 86629

Summary: commandline option --attach should look for files in actual directory
Product: [Applications] kmail Reporter: Robert Entner <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: bjoern, kdd, kde, luigi.toscano, montel, psychonaut
Priority: NOR    
Version: 1.6.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.10

Description Robert Entner 2004-08-05 15:05:42 UTC
Version:           1.6.2 (using KDE 3.2.3, SuSE)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:                Linux (i686) release 2.4.21-231-default

I can invoke a composer window with an already attached file with the commandline option:
kmail --attach /path/to/attachement.gz

But when I only give the filename without the path:
kmail --attach attachement.gz
the file is not found even though it is located in the local directory.
Comment 1 Björn Ruberg 2009-12-19 23:07:44 UTC
True. The path is relative to the working directory of the main kmail instance.
Comment 2 Tristan Miller 2010-08-27 12:45:01 UTC
Confirming bug still exists with KMail 1.13.5 (KDE 4.5.0).
Comment 3 Ken Dwyer 2011-12-17 14:44:34 UTC
I just want to point out that this is also the case for the --msg option. I had been resorting to --body "`cat body.txt`" for some time until I saw this post.
Comment 4 Ken Dwyer 2011-12-17 14:46:41 UTC
... that's for version 1.13.7 (KDE 4.6.5)
Comment 5 Myriam Schweingruber 2012-08-18 08:42:07 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 6 Luigi Toscano 2012-08-19 00:51:02 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.
Comment 7 Tristan Miller 2016-08-17 13:46:54 UTC
Problem seems to be solved in KMail2, for both --msg and --attach.