K-9 Mail not downloading emails in folders

In K-9 Mail Settings my folder poll frequency is set to 24 hours, but none of my emails apart from the ones in my inbox ever get downloaded unless I open and manually refresh that folder.

This makes the “Search all folders” feature useless because 9 times out of 10 the email I’m searching for hasn’t been downloaded. Even Sent emails that I’ve sent using a different device never get downloaded unless I open and manually refresh my Sent folder.

Even if I open and then pull down the folder list to manually refresh all emails in all folders, they still don’t get downloaded - I have to open each individual folder and manually refresh them one by one before the emails in them get downloaded.

This hasn’t always been the case - the emails in all my folders used to be downloaded automatically once a day - but I don’t remember when the problem started.

Any idea how to fix this?

Dave

I’ve got to the bottom of the cause but still have no idea how to fix it.

If I select “Manage Folders” and click on any folder, it says “Enable Sync” is switched off as shown in the following screen capture:

It wouldn’t be practical to switch this setting on for each folder individually as I have well over 1,000 folders. In any case I don’t want to have to remember to switch it on every time I create a new folder or rename one.

  • How could this setting have been switched off for all my folders without my knowledge?
  • How can I switch it on for all my folders in one go, rather than one folder at a time?
  • How can I ensure that new folders have this setting switched on by default?

Dave

1 Like

Has no one got any ideas? Is this problem affecting everyone or just me? I don’t know when it started but all my folders used to sync automatically and now they don’t. Is this a bug or is there some way to fix it? Surely someone must have some idea?

Please could someone reply to say why no one has replied? Am I in the wrong newsgroup? If so, which newsgroup should I post this in?

Thanks

Dave

Most probably others do not have that issue.
But: I also have plenty of folders, but none but a few special folders are enabled for pushing/polling. And IMO this always was the case.

If you realy want all your folders to be synched: IMO this means that for each folder a separate connection has to be hold open in parallel. Might be a problem depending on number your folders.

Yes, it seems, that there is no “bulk change” feature for this. For a few folders this still can be done one by one.
For a bigger amount of folders I would

  • export the setting
  • edit the corresponding export file ( should be json format most probably)
  • import the settings back

Disclaimer: did not try it, would just be my approach for it to test

1 Like

Hi @stphn

All my folders definitely used to sync every 24 hours. I know because when I searched all folders for a text string it always used to work and now it never works. I either have to go to my webmail to do my searches now, or use my computer instead of my phone.

I’m not sure when this stopped working but I’m sure it was less than a year ago and I presume it must be due to a version upgrade in K9Mail.

Obviously I don’t want them to push which would cause problems as you say. I just want them to sync once a day, as they used to do.

How do you edit a json file and how can you get all the folder structure to edit it with, without manually typing hundreds of folder names?

Dave

I’m wondering: how did you arrange for all your folders to sync, before when it was working?

I have dozens of IMAP folders, and have used k9 for many years, and I don’t remember it syncing all my folders. I recall going to relatively unused folders occasionally, and having to manually sync.

1 Like

I don’t remember what the settings used to look like but they used to look very different to how they look now and when you selected the sync frequency that was applied to all folders.