[Users] python plugin
Peter Hanlon
hanlonpp at tpg.com.au
Wed Nov 20 00:11:18 CET 2019
Thanks So Much Holger.
Should be plain sailing with that advice. I must have read the
documentation at least a dozen times without seeing that.
Compliments of the season,
Peter
On Tue, 19 Nov 2019 21:02:37 +0100
Holger Berndt <berndth at gmx.de> wrote:
> Hallo Peter,
>
> On Di, 19.11.2019 16:55, Peter Hanlon wrote:
>
> >But I cannot see how to get hold of the trash folder object
> >to use the clawsmail move messages function.
>
> You should be able to get the folder object by creating it like so:
>
> trash_folder = clawsmail.Folder("#mh/mail/trash")
>
> (or whatever the correct identifier in your case is)
>
> >Another way might be to
> >'select' the message and call in the Message/Trash action, but I
> >can't see how to 'select' programmatically either.
>
> The interface to select messages is
>
> clawsmail.summaryview_select_messages(message_list)
>
> Holger
> _______________________________________________
> Users mailing list
> Users at lists.claws-mail.org
> https://lists.claws-mail.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list