Bug 42767

Summary: attach directories to mail
Product: [Applications] kmail Reporter: Eike Suthau <eike.suthau>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: bjoern
Priority: NOR Keywords: junior-jobs
Version: 1.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.8

Description Eike Suthau 2002-05-18 14:05:53 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kmail
Version:           1.4 (using KDE 3.0.0 )
Severity:          wishlist
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:                Linux (i686) release 2.4.10-4GB
OS/Compiler notes: 

I'd like to be able to attach directories (in my case that's mostly LaTeX documents with images) to my mails without having to create an archive in first place.(which I'll have to remove afterwards anyway)

I imagine a dialog asking for the type of archive (tar.gz/tar.bz2/zip) or if all files should be attached individually.

Thank you very much in advance and also for your great work on KMail so far.

Regards 
eike

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Björn Ruberg 2009-12-13 11:09:01 UTC
Still valid
Comment 2 Laurent Montel 2011-09-10 12:20:50 UTC
Git commit 3262f5d4e0add637ddc387e8b4e21ff6911fc290 by Montel Laurent.
Committed on 10/09/2011 at 14:18.
Pushed by mlaurent into branch 'master'.

Add patch from Martin Bednar <serafean at gmail com> Thanks a lot

Now we can attach a folder and zip it
BUG: 42767
FIXED-IN: 4.8

M  +12   -3    messagecomposer/attachmentcontrollerbase.cpp
M  +2    -0    messagecore/CMakeLists.txt
A  +163  -0    messagecore/attachmentfromfolderjob.cpp     [License: GPL (v2+)]
A  +76   -0    messagecore/attachmentfromfolderjob.h     [License: GPL (v2+)]
A  +72   -0    messagecore/attachmentfromurlbasejob.cpp     [License: GPL (v2+)]
A  +69   -0    messagecore/attachmentfromurlbasejob.h     [License: GPL (v2+)]
M  +5    -27   messagecore/attachmentfromurljob.cpp
M  +2    -22   messagecore/attachmentfromurljob.h

http://commits.kde.org/kdepim/3262f5d4e0add637ddc387e8b4e21ff6911fc290