MozillaZine


Refresh IMAP subscribed folders

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

Post Posted August 17th, 2021, 11:39 am

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)?

tanstaafl
Moderator

User avatar
 
Posts: 48166
Joined: July 30th, 2003, 5:06 pm

Post Posted August 17th, 2021, 9:43 pm

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.

tanstaafl
Moderator

User avatar
 
Posts: 48166
Joined: July 30th, 2003, 5:06 pm

Post Posted August 17th, 2021, 9:47 pm

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

Post Posted August 21st, 2021, 9:11 am

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?

Return to Thunderbird Support


Who is online

Users browsing this forum: No registered users and 3 guests