[Users] Python scripts questions: message bodies and message view

MJ Ray mjr at phonecoop.coop
Mon Aug 21 20:32:53 CEST 2017


I'm trying to do some text processing on a selection of messages and
display the result.

Is it possible to get the message body as a string in python plugin
scripts? I can open the FilePath and parse it but I'm not sure that's
the best approach because I expect that clawsmail has already parsed it.

The other thing I'd like to know is how to edit/replace the contents of
the message view area - is that possible?  It would be nice to avoid
opening a new window for the script's output.

Thanks for any advice!
-- 

MJR http://mjr.towers.org.uk/
Member of http://www.software.coop/ (but this email is my personal view
only)




More information about the Users mailing list