Bug 42767 - attach directories to mail
Summary: attach directories to mail
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.4
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2002-05-18 14:18 UTC by Eike Suthau
Modified: 2011-09-10 12:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.8


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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