It should be possible to delete attachments and other message parts via the context menu of the message structure view.
taking
Git commit 0b53b36701f4fe44dfa46af120bc0c71d327040c by Ingo Klöcker. Committed on 23/04/2021 at 10:15. Pushed by kloecker into branch 'master'. Allow deletion of attachments from message structure view Deletion of attachments (and other message parts) is only allowed one at a time. Message parts inside encrypted message parts cannot be deleted. This (re-)adds the "Delete Attachment" action to the context menu of the message structure view. It was removed 3 years ago because it always crashed (because it tried to work with a copy of the node tree of the original message). Sponsored by: Intevation GmbH Related: bug 287177 FIXED-IN: 5.18.0 M +22 -1 messageviewer/src/viewer/viewer_p.cpp M +1 -0 messageviewer/src/viewer/viewer_p.h https://invent.kde.org/pim/messagelib/commit/0b53b36701f4fe44dfa46af120bc0c71d327040c
*** Bug 361368 has been marked as a duplicate of this bug. ***