[kmail2] [Bug 361368] option to delete multipart/alternative attachments missing, e.g. text/html

Erik Quaeghebeur via KDE Bugzilla bugzilla_noreply at kde.org
Tue May 24 13:48:28 BST 2016


https://bugs.kde.org/show_bug.cgi?id=361368

Erik Quaeghebeur <kdebugs at equaeghe.nospammail.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdebugs at equaeghe.nospammail
                   |                            |.net

--- Comment #1 from Erik Quaeghebeur <kdebugs at equaeghe.nospammail.net> ---
You can do this using a filter.

See https://github.com/equaeghe/mailfilters/blob/master/alternative2.py for the
Python script I use. It could/should be improved still; improvement suggestions
welcome. (It says Python 3.4, but should work with 3.4+ as well.) It works well
for me, but use at your own risk. Do take into account that the filtering
subsystem is a bit flaky... sometimes I need to put a filter in first place to
be able to trigger it.

The filter is a match-all-messages pipe-through via
/home/equaeghe/.local/bin/alternative2plain, that I only apply manually, via
the filter context-submenu or an assigned shortcut key.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list