Gmail emails not fetched into central inbox (deferred inbox) with "Get Messages" button
Categories
(MailNews Core :: Networking: POP, defect)
Tracking
(thunderbird_esr102+ affected, thunderbird109 affected)
People
(Reporter: tomasz_smykowski, Assigned: rnons)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Steps to reproduce:
- Have a "Local folders" account
- Set up e-mails from multiple providers to be stored in one Inbox of "Local folders" Inbox
- Add Gmail account
Method: POP3
Set it to be included in fetching emails with "Get Messages"
Adding the account works on default settings - Click on the Inbox of the newly created account
- Click "Get Messages"
- It fetches the messages
- Switch the account to store messages in "Local folders" Inbox and include it in "Get Messages"
- Click "Local folders" Inbox.
- Click "Get Messages"
Actual results:
Thunderbird fetches emails from other providers, but ignores Gmail accounts
Expected results:
Emails from Gmail account are fetched
Updated•3 months ago
|
Assignee | ||
Comment 1•3 months ago
|
||
Seems to work for me. Is there anything in the Error Console? If you set mailnews.pop3.loglevel
to All
, do you see anything like
mailnews.pop3.3: Connecting to pop://pop.gmail.com:995
mailnews.pop3.3: Connected
mailnews.pop3.3: S: +OK Gpop ready for requests
@Ping Chen
I have:
- set mailnews.pop3.loglevel to All
- opened the console with CTRL+SHIFT+J
- clicked "Get messages"
Results:
- There are no errors
- In the debug section there is nothing with "pop.gmail.com"
Comment 3•2 months ago
|
||
(In reply to Tom from comment #2)
- There are no errors
- In the debug section there is nothing with "pop.gmail.com"
Nothing at all in the error console?
I think go back to the beginning here.
Try pressing Shift+F5 instead of clicking get messages. Does it work now?
Misunderstandings about get message and the fact it only gets messages for the currently selected account, and the need is to actually get all new messages from all accounts (shift+F5) which is on the drop-down part of get messages are almost as old as Thunderbird. So let's see if this is another of them.
Thank you all for the support. Matt, you are right, there is an item called "Get All New Messages" in the dropdown.
Before that I had all accounts set up to one inbox folder. So it is why it confused me.
Is there a way to change "Get Messages" button to "Get All New Messages"?
It would be lovely, because it seems like it should be the default
Update: I was testing for some days now the "Get All New Messages" button, and it occurs it does not download messages from the Gmail account.
To fetch e-mails from Gmail account I have to specifically fetch messages for that account.
So this bug report is still valid
Comment 7•23 days ago
|
||
Comment 8•23 days ago
|
||
I have the same problem but it seems I know the rootcause of it. I have TB in different language than english (CZ). In the "Extended" account there is a checkbox enabling affected account to be added to download queue. It's not checked, when I check it and hit OK following messages appears in the error console see attached screenshot. I checked the mentionec code and there is
// Check if we are deferred to the local folders, and create INBOX if needed.
let server = MailServices.accounts.getAccount(accountKey).incomingServer;
if (server instanceof Ci.nsILocalMailIncomingServer) {
if (!server.rootFolder.containsChildNamed("Inbox")) {
server.rootFolder.createSubfolder("Inbox", null);
}
}
So it seems for some reason it pass checking the Inbox folder, then tries to create it and fails (because there is such a folder). As I mentioned above - name of Inbox folder is in local language (CZ)! So there is no explicit "Inbox" folder but local name.
Assignee | ||
Comment 9•21 days ago
|
||
Updated•21 days ago
|
Assignee | ||
Comment 10•21 days ago
|
||
The patch should fix comment 8, but not sure about comment 0. Also due to bug 1766080, I can't generate a local l10n build to test the patch right now.
Updated•21 days ago
|
Assignee | ||
Updated•19 days ago
|
Updated•19 days ago
|
Comment 11•19 days ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/fdebd932734c
Fix creating Inbox for deferred server in l10n build. r=mkmelin
Description
•