為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Questions about Synchronization and attachments with IMAP (Gmail)

  • 4 回覆
  • 2 有這個問題
  • 108 次檢視
  • 最近回覆由 McClausky

more options

Hi!

I'm have latest TB version with IMAP and Gmail, with the default sync settings. I have a couple of questions please:

1) When you create an account, does TB download headers and body for ALL folders in Gmail? I'm asking this because I noticed that when I click on a particular folder (ie. "All Mail" or "Sent") then TB just starts downloading all messages for that folder. Makes me think that I have to click on every folder in order to have messages downloaded. I'm a bit concerned because I have dozens and dozens of custom folders and subfolders, and it also worries me that I'll never find messages with the Search function because they are simply not downloaded.

2) As I was mentioning in 1), every time I click on a folder, TB proceeds to download all messages INCLUDING ATTACHMENTS!. I would be ideal if TB could download first only headers and body only, and later download the attachments only when you decide to open the file. I'm not sure if this is supported. However, I know about the option "Don't download messages larger than". I could use that. If I set it to 50KB for example, is TB going to download at least the header and body? Or is it going to completely ignore the message and leave it on server? I ask this because the search function is critical for me and I'm worried that messages bigger than 50KB will never be found because the header and body was never downloaded.

Your help will be greatly appreciated.

Thanks,

Hi! I'm have latest TB version with IMAP and Gmail, with the default sync settings. I have a couple of questions please: 1) When you create an account, does TB download headers and body for ALL folders in Gmail? I'm asking this because I noticed that when I click on a particular folder (ie. "All Mail" or "Sent") then TB just starts downloading all messages for that folder. Makes me think that I have to click on every folder in order to have messages downloaded. I'm a bit concerned because I have dozens and dozens of custom folders and subfolders, and it also worries me that I'll never find messages with the Search function because they are simply not downloaded. 2) As I was mentioning in 1), every time I click on a folder, TB proceeds to download all messages INCLUDING ATTACHMENTS!. I would be ideal if TB could download first only headers and body only, and later download the attachments only when you decide to open the file. I'm not sure if this is supported. However, I know about the option "Don't download messages larger than". I could use that. If I set it to 50KB for example, is TB going to download at least the header and body? Or is it going to completely ignore the message and leave it on server? I ask this because the search function is critical for me and I'm worried that messages bigger than 50KB will never be found because the header and body was never downloaded. Your help will be greatly appreciated. Thanks,

被選擇的解決方法

When you first add an account, do it offline from File/Offline/Work Offline so you can open Advanced config. from the account setup window and uncheck the box 'Keep messages... on this computer'. That way, when you go back online TB will sync with the server and find the folders, but will only download headers. Then, you can choose which folders to subscribe and which ones to download for offline use. It's then possible to search the message bodies of the offline folders from Ctrl+Shift+F.

You'll have to do some tests, but I believe that setting a size limit will download just the headers for messages larger than the limit. The situation without a limit is a bit more complex. See this article for an explanation.

從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

Selecting a folder will prompt a synchronization with the mail server, but only new messages received since the last syncing are downloaded. If you want a folder to automatically sync when getting new messages, right-click, Properties, and check the box 'When getting new messages...'.

To download headers only, uncheck 'Keep messages ... on this computer' in the Synchronization & Storage section of Tools/Account Settings, or click Advanced to download message bodies for selected folders. When a headers-only message is opened, the message body is downloaded and stored in the cache, but not in the profile folder as when messages are downloaded for offline access.

http://kb.mozillazine.org/Using_Gmail_with_Thunderbird_and_Mozilla_Suite

more options

Thanks for your prompt reply.

sfhowes said

Selecting a folder will prompt a synchronization with the mail server, but only new messages received since the last syncing are downloaded. If you want a folder to automatically sync when getting new messages, right-click, Properties, and check the box 'When getting new messages...'.

OK. And what about the first time I configure an account? Do I have to select every folder and subfolder so TB performs a first time synchronization with the server? I'm asking because I normally work with 3 different Gmail accounts and every account has dozens of folders and subfolders. If I don't select every folder, then the search function will never find the contents of message's bodies?

To download headers only, uncheck 'Keep messages ... on this computer' in the Synchronization & Storage section of Tools/Account Settings, or click Advanced to download message bodies for selected folders. When a headers-only message is opened, the message body is downloaded and stored in the cache, but not in the profile folder as when messages are downloaded for offline access. http://kb.mozillazine.org/Using_Gmail_with_Thunderbird_and_Mozilla_Suite

I would prefer to have the body of messages downloaded and stored in the profile folder, so the search function finds them whenever I need to. However, I don't know if the option "Don't download messages larger than" will effectively download bodies or only headers. I need the bodies for universal search, but I don't need the attachments yet (only when I open the message). Please advice.

Thank you in advance.

more options

選擇的解決方法

When you first add an account, do it offline from File/Offline/Work Offline so you can open Advanced config. from the account setup window and uncheck the box 'Keep messages... on this computer'. That way, when you go back online TB will sync with the server and find the folders, but will only download headers. Then, you can choose which folders to subscribe and which ones to download for offline use. It's then possible to search the message bodies of the offline folders from Ctrl+Shift+F.

You'll have to do some tests, but I believe that setting a size limit will download just the headers for messages larger than the limit. The situation without a limit is a bit more complex. See this article for an explanation.

more options

sfhowes said

When you first add an account, do it offline from File/Offline/Work Offline so you can open Advanced config. from the account setup window and uncheck the box 'Keep messages... on this computer'. That way, when you go back online TB will sync with the server and find the folders, but will only download headers. Then, you can choose which folders to subscribe and which ones to download for offline use. It's then possible to search the message bodies of the offline folders from Ctrl+Shift+F. You'll have to do some tests, but I believe that setting a size limit will download just the headers for messages larger than the limit. The situation without a limit is a bit more complex. See this article for an explanation.

Thank you sfhowes. It worked by adding the account and then going offline. All messages on all folders were downloaded. It took a while, and after everything was downloaded, I went back online. Then, in order to have all folders synced permanently I enabled the setting mail.server.default.check_all_folders_for_new which worked partially ok, with some label issues that I posted here.