Bug 170425 - Detach attachments (save, remove, and link) from email
Summary: Detach attachments (save, remove, and link) from email
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.2.1
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-04 23:30 UTC by Harland Coles
Modified: 2017-05-19 09:57 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harland Coles 2008-09-04 23:30:34 UTC
Version:            (using KDE 3.5.9)
Installed from:    SuSE RPMs

Detach attachment(s) from email messages by:
a) saving it(them) into a chosen(or default) directory, then
b) removing/deleting it from the email, while retaining the rest of the email contents, and
c) putting a linking phrase/identifier into the email with possible tagging data such as date, size, type; so detached attachment is openable from within email by a link (or even inline viewing still intact).
d) Optionally: upon forwarding email, detached attachment(s){i.e. 'detachments'} will be RE-attached before sending (further option[preference]: if detached, then saved sent forwarded email message  will only retain 'detachment link'.

I have been itching for this feature set for a long time.  There exists a pipe through filter 'Kmail Power Tools' written in perl listed on kde-apps.org, but a built solution would be preferable - thus giving (d) above.

I greatly enjoy using KMail, as it has been a very solid and often used app. :) Cheers
Comment 1 Myriam Schweingruber 2012-08-18 08:58: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 2 Luigi Toscano 2012-08-19 00:19:06 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.
Comment 3 Harland Coles 2012-08-19 21:57:50 UTC
 I made the feature request for KMail (1, 2, ...) as a whole, and at the time was 'using' kmail1, though I would say, if the feature is not in kmail2, it is still a valid request.  I personally have not yet migrated to kmail2, so I cannot comfirm if kmail2 has something similar; howerver, I don't think this makes the detachment idea any less pertinent.  Does akonadi provide this, though I thought it was just a search cache of sorts. 
 The detachments idea will free up space as documents (and media files) are saved out into directories (reducing backup overhead).  I understand the pitfalls of moving a linked document, or editing so the email links to a newer 'version'. But this is an advanced user feature. I have had some success with filters, but having the file link in the email needs to be understood by kmail to make it fully functional.

Cheers - H
PS.  So a Resolved wishlist item means?
Comment 4 Luigi Toscano 2012-08-20 19:51:47 UTC
(In reply to comment #3)
>  I made the feature request for KMail (1, 2, ...) as a whole, and at the
> time was 'using' kmail1, though I would say, if the feature is not in
> kmail2, it is still a valid request.  
Thanks for the feedback

> PS.  So a Resolved wishlist item means?
It depends on the resolution; it was an attempt to cleanup to old wishlists, reassigning them if needed.
Comment 5 Emre 2013-06-05 22:42:12 UTC
I also would like to have this feature. We can start with just detaching attachments and putting a sentence showing where we detached it.
Comment 6 Martin Steigerwald 2016-07-01 09:08:07 UTC
 I can confirm that I see no way to remove an attachment from a mail in KMail 5.2.1 from KDEPIM 16.04.

Yet according to the FAQ there should be one:

> 6.20. How can I remove attachments from messages without removing the message itself?
>
>Open the context menu with a right mouse button click on an attachment and select Delete Attachment

https://docs.kde.org/stable5/en/kdepim/kmail/faq.html#idp54668976

I don´t see this context menu entry when right clicking an attachment.

I´d like to have this feature in order to remove spam mails I attached to an abuse report. I like to keep the abuse report for reference, but not the spam mail. As a work-around I can just view source of mail and copy / paste only headers.
Comment 7 Denis Kurz 2017-05-19 09:57:50 UTC
Almost another year forward, in KMail 5.5.1, when I right-click on an attachment, the last entry in the context menu is "Delete attachment" (my translation from German).