Refresh IMAP subscribed folders

User Help for Mozilla Thunderbird
Post Reply
Patophe
Posts: 2
Joined: August 17th, 2021, 11:32 am

Refresh IMAP subscribed folders

Post by Patophe »

How to refresh Thunderbird Subscribed folders?
I subscribed to some from another client and they never appear without a restart of Thunderbird.

Also, how to subscribe/unsubscribe to folders in WebExtension (JavaScript)?
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Refresh IMAP subscribed folders

Post by tanstaafl »

Right click on the account name in the folder pane, select subscribe and press the refresh button.

https://developer.thunderbird.net/add-o ... extensions has the API documentation. https://webextension-api.thunderbird.ne ... lders.html is a good starting point. You might have to use the Experiment APIs as the WEbExtension APIs still aren't very mail-centric.

https://thunderbird.topicbox.com/groups/addons might be a good place to ask for help. If you get a useful answer please post a link to it.
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Refresh IMAP subscribed folders

Post by tanstaafl »

I use "em client" to unsubscribe a remote folder and when I restarted Thunderbird 91.0.1 it didn't list that folder anymore and the accounts subscription window showed it unchecked.
Patophe
Posts: 2
Joined: August 17th, 2021, 11:32 am

Re: Refresh IMAP subscribed folders

Post by Patophe »

Maybe it's my beginner skills missing fault, but I'm disappointed to see how not intuitive is to interact with the mail environment.

It should be so easy to just list interfaces available for each global entites like messenger, browser, etc.
I dont feel they are aware to help autodidact programmers to design their own stuff.

For a mail client, it should be clear how to interact with the client itself!
A call like Messenger.getDefault().then(function (account) {account.subscribe(folder_path)}) should be to simple I suppose....

They're a place where all the global entities are described clearly?
Or a way to inspect and dig into the objects interfaces?
Post Reply