Gmail emails not fetched into central inbox (deferred inbox) with "Get Messages" button
Categories
(MailNews Core :: Networking: POP, defect)
Tracking
(thunderbird_esr102+ fixed, thunderbird109 affected)
People
(Reporter: tomasz_smykowski, Assigned: rnons)
References
Details
Attachments
(2 files)
24.48 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-esr102+
|
Details | Review |
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•2 years ago
|
Assignee | ||
Comment 1•2 years 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 years 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•2 years ago
|
||
Comment 8•2 years 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•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 10•2 years 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•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 11•2 years 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
Assignee | ||
Comment 12•2 years ago
|
||
Comment on attachment 9311496 [details]
Bug 1799106 - Fix creating Inbox for deferred server in l10n build. r=mkmelin
[Approval Request Comment]
Regression caused by (bug #): pop3-js
User impact if declined: Deferred inbox doesn't work as expected.
Testing completed (on c-c, etc.): beta
Risk to taking this patch (and alternatives if risky): low
Comment 13•2 years ago
|
||
Comment on attachment 9311496 [details]
Bug 1799106 - Fix creating Inbox for deferred server in l10n build. r=mkmelin
[Triage Comment]
Approved for esr102
Comment 14•2 years ago
|
||
bugherder uplift |
Thunderbird 102.8.0:
https://hg.mozilla.org/releases/comm-esr102/rev/05b4bd825aba
Description
•