Closed
Bug 302386
Opened 19 years ago
Closed 19 years ago
Add ability to auto sync imap folders offline store when folders are opened or checked for new mail
Categories
(MailNews Core :: Networking, defect)
MailNews Core
Networking
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Bienvenu, Assigned: Bienvenu)
Details
Attachments
(1 file)
3.79 KB,
patch
|
mscott
:
superreview+
benjamin
:
approval1.8b4+
|
Details | Diff | Splinter Review |
Some users want us to automatically sync the offline store for a folder when it's opened or checked for new mail (really what's wanted is to silently sync in the background, but this approach is going to be a lot easier in the short term). So I'm going to add a new per server pref, autosync_offline_stores, and if you set it to true, we will sync the offline store when you open the folder, or check it for new mail. The latter will only happen if you set the hidden pref "mail.imap.use_status_for_biff" to false, so that we'll call UpdateFolder to check for new messages, and download headers and bodies, instead of just using the IMAP status command. Patch upcoming.
Assignee | ||
Comment 1•19 years ago
|
||
This implements what I described. One caveat: it ignores whether you've configured the folder for offline use - I can go either way on that. Ignoring that flag makes it consistent with the download_bodies_on_get_new_mail pref, and moves us to a world where you don't need to configure every folder for offline use. But it could be a drag as well, for example, if you click on a large folder like your sent folder.
Assignee | ||
Comment 2•19 years ago
|
||
cc'ing Mike, who wanted to try this out.
Assignee | ||
Updated•19 years ago
|
Attachment #190759 -
Flags: superreview?(mscott)
Updated•19 years ago
|
Attachment #190759 -
Flags: superreview?(mscott) → superreview+
Assignee | ||
Comment 3•19 years ago
|
||
Comment on attachment 190759 [details] [diff] [review] fix for testing this is turned off by default, but it would be nice to have for people to turn on if they want.
Attachment #190759 -
Flags: approval1.8b4?
Updated•19 years ago
|
Attachment #190759 -
Flags: approval1.8b4? → approval1.8b4+
Assignee | ||
Comment 4•19 years ago
|
||
Shaver might be interested in this. Setting the per server pref "autosync_offline_stores" to true will make us download for offline use all msgs in any imap folder on that server when you open the folder. It's not ideal, but it does allow you to skip the go offline process before shutting down. It is currently all or nothing, so this pref ignores whether the folder is configured for offline use. It's basically a big switch that says I want all messages in all folders stored for offline use.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
OS: Windows XP → All
Hardware: PC → All
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•