Re: kmail: various questions of a new user

Erik Quaeghebeur <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <7809170.bkK2VCTeN0@sysoppad>
I asked:

> 4. Are there filters ‘floating around’ for ...
> 4a. ... reducing a `multipart/alternative` message to either its `text/plain` or `text/html` part? (So not just deleting the content of a part, but really changing the message's MIME type from `multipart/alternative` to, e.g., `text/plain`.)
> 4b. ... changing the `Content-Transfer-Encoding` away from the source-illegible `base64`?

I've looked at Python's email module and it provides more than sufficient power to do these kind of things. So the solution (for me) is to use the ‘Pipe Through’ action with a script using that module.

I'll make the scripts I've created public for others to use (at their own risk) and improve at

	https://github.com/equaeghe/mailfilters

If you have suggestions for improvement or see a bug that needs to be corrected, please add an issue on GitHub instead of replying to this message.


Have fun,

Erik
_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.