Roundcube Community Forum

 

delete attachments

Started by talvins, April 15, 2011, 02:18:45 PM

Previous topic - Next topic

talvins

Would it be possible to offer possibility to delete attachments (as can be done in thunderbird) ?

Thanks.

JohnDoh

Hi,

I thought I would have a go at making a plugin to do this.  The idea is simple enough – add a button next to each attachment to allow the user to delete that attachment from the message, saving space in their mailbox. I did this by making a copy of the message but missing out the attachment then saving it on the server and deleting the original.

Warning: Because of the message copying this is going to need a lot of testing so please use with care. In my testing I have seen a couple of messages where the text encoding goes a little wrong, this was because of incorrect charsets specified in the original message.

If you would like to give it a go you can download a copy from here https://github.com/JohnDoh/Roundcube-Plugin-Remove-Attachments

Any feedback welcome!
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

Jonathan More

Hi, my question is so close to this one so I decided to continue this thread.
When I delete the attachment in Outlook IMAP account, it will create copy of that message to web mail (server) without the attachment and the old message with the attachment grays out but stays there.
I assume the old message is still using that space?

Since I am hoping to save space this way, is there any easy way how I could get those attachments deleted also from server?

talvins

argh ! I'd never read JohnDoh's answer. I only see it now, when a new message is posted. Unfortunately github link doesn't work anymore :( shame on me.

cristyde

Hi, is this plugin (or something similar) still available somewhere?
Thanks.

Cristóbal.

rosali

There is a plugin called remove_attachments from the MyRoundCube project (commercial) http://myroundcube.com/ that allows to delete attachments.
Regards,
Rosali

roundthecube

Doesn't look like the addon is still available. I use roundcube as a part of my domain hosting provider anyways, so can't use plugins. Would love to be able to remove attachments, but save the email as a normal part of Roundcube. Thanks