Sending email fails under some circumstances (nsIMsgCompose.expandMailingLists) if recipient is not in address book
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(thunderbird_esr78 fixed)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | fixed |
People
(Reporter: coxmatthew, Assigned: darktrojan)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-esr78+
|
Details | Review |
Reporter | ||
Updated•8 years ago
|
Reporter | ||
Comment 3•8 years ago
|
||
Updated•8 years ago
|
Comment 6•8 years ago
|
||
Comment 8•8 years ago
|
||
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
Comment 13•8 years ago
|
||
Comment 14•8 years ago
|
||
Comment 15•8 years ago
|
||
Comment 16•8 years ago
|
||
Reporter | ||
Comment 17•8 years ago
|
||
Comment 18•8 years ago
|
||
Comment 19•8 years ago
|
||
Comment 20•8 years ago
|
||
Comment 21•8 years ago
|
||
Comment 22•8 years ago
|
||
Comment 23•8 years ago
|
||
Comment 24•8 years ago
|
||
Reporter | ||
Comment 25•8 years ago
|
||
Reporter | ||
Comment 26•8 years ago
|
||
Comment 27•8 years ago
|
||
Comment 28•8 years ago
|
||
Comment 29•8 years ago
|
||
Comment 30•8 years ago
|
||
Comment 31•8 years ago
|
||
Comment 32•8 years ago
|
||
Comment 33•8 years ago
|
||
Comment 34•8 years ago
|
||
Reporter | ||
Comment 35•8 years ago
|
||
Reporter | ||
Comment 36•8 years ago
|
||
Comment 37•8 years ago
|
||
Comment 38•8 years ago
|
||
Comment 39•8 years ago
|
||
Comment 40•8 years ago
|
||
Comment 41•8 years ago
|
||
Comment 42•8 years ago
|
||
Reporter | ||
Comment 43•8 years ago
|
||
Comment 44•8 years ago
|
||
Comment 45•8 years ago
|
||
Comment 46•8 years ago
|
||
Comment 47•8 years ago
|
||
Comment 49•8 years ago
|
||
Comment 50•8 years ago
|
||
Comment 51•8 years ago
|
||
Comment 52•8 years ago
|
||
Comment 53•8 years ago
|
||
Comment 54•8 years ago
|
||
Comment 55•8 years ago
|
||
Comment 56•8 years ago
|
||
Comment 57•8 years ago
|
||
Comment 58•8 years ago
|
||
Comment 59•8 years ago
|
||
Comment 60•8 years ago
|
||
Comment 61•8 years ago
|
||
Comment 62•8 years ago
|
||
Comment 63•8 years ago
|
||
Comment 64•8 years ago
|
||
Comment 66•7 years ago
|
||
Comment 67•6 years ago
|
||
I experienced the same bug in Thunderbird 60.4.0 (64-bit, Ubuntu 18.04.1 LTS x86_64) yesterday. The only way how to send an email was adding the recipient in local address book.
After clicking on Send button, Thunderbird in safe mode reported 'JavaScript error: chrome://messenger/content/messengercompose/MsgComposeCommands.js, line 5656: NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIMsgCompose.expandMailingLists]'.
I had to change ldap_2.servers.history.filename' preference (history.mab file changed to new history2.mab file) as suggested by Edoardo Tirtarahardja to be able to send an email.
Comment 68•6 years ago
|
||
I have this bug with TB 60.6.1 (64-bit, Xubuntu 18.04.2 LTS)
NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIMsgCompose.expandMailingLists]
An error occurred executing the cmd_sendButton command: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIMsgCompose.expandMailingLists]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: chrome://messenger/content/messengercompose/MsgComposeCommands.js :: expandRecipients :: line 5656" data: no]
I had to change ldap_2.servers.history.filename' preference (history.mab file changed to new history2.mab file) as suggested by Edoardo Tirtarahardja to be able to send an email.
Comment 69•5 years ago
|
||
same problem here, it has been a problem for a loong time, and only now i found this thread.
TB 71.0 (64-bit) ubuntu 18.04.2 LTS
i read the full thread and made some modification:
- i modified ldap_2.servers.history.position from 2 to 1 and ldap_2.servers.pab.position from 1 to 2 with no success.
after that I found out that of the 3 .mab files in the profile (abook, default and history) only abook was modified in the last 4 years and tried to change all reference to that one.
I only have success after I completely replaced history.mab (and some default.mab) references with abook.mab, not exactly certain at what point but now there is only one last reference that was not abook.mab (ldap_2.servers.default.filename is still default.mab)
for now all is working ok, and I have little time to fidget even more so i keep it as it is, but if needed I could try to help more.
Updated•5 years ago
|
Comment 70•5 years ago
|
||
I am seeing this behavior now on Mac OS X Thunderbird 64-bit beta release 73.0b2
Adding a user to the local address book makes the email sendable.
Otherwise, addresses are rendered in red/orange and the "send" button does nothing in the compose window.
Comment 71•5 years ago
|
||
Never mind, this may be a different problem - cant reproduce. Will update if reproducible.
Comment 72•5 years ago
|
||
Hello gents,
latest about about this problem i was also running into today.
I updated my
Thunderbird version onto: 60.6.1 (64-bit)
Underlying OS: Ubuntu Linux
Add-On: Thunderbird Lightning (only) calendar
LDAP: Company configured link
Send button has not worked anymore after i completed my version upgrade.
Solution found:
just remove any direct LDAP connection from the email account profile/configuration
-
Go to Menu tab: Edit
-
Select: Composition
-
Disable: Any LDAP connection/entry
-
Select instead: Local Address Books
-
Save
-
Restart Thunderbird
Best regards folks / took me 2 hours to identify this issue.
Comment 73•5 years ago
|
||
Same issue with my TB, but the only workaround for me is to add the recipient to the Address Book. This has been happening for a very long time now, but I decided to research a little bit at present.
The error I see is:
JavaScript error: chrome://messenger/content/messengercompose/MsgComposeCommands.js, line 6156: NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIMsgCompose.expandMailingLists]
OS: Gentoo Linux
TB version: 68.6.0 (from Gentoo's repository - compiled from scratch)
Add ons: Lightning and British English dictionary (error also happens without Lightning)
For reference, I tried to switch off all address books prior to looking into this bug report. I have only 2 more things to try:
- Create a completely new profile - I will only do this when the benefits or recreating everything outweigh the overhead of creating a new entry in the address book for every new recipient (or clicking on the favourite star :) )
- Compile with en-GB localisation for TB - this is happening now.
Ideas/questions, please let me know.
Comment 74•5 years ago
|
||
Adding to my previous comment, including en-GB localisation didn't yield any changes.
Comment 75•5 years ago
|
||
After upgrading to Thunderbird 78.1.0, the same failure started to re-surface, there are two accounts configured on my system, one for my personal email and one for my corporate email. The corporate email account is configured to auto-complete from a LDAP server, whereas the personal account is not.
Attempting to send an email with either results in the following:
Successfully loaded OTR library libotr-5.dll from C:\Program Files (x86)\Mozilla Thunderbird\libotr-5.dll OTRLib.jsm:43:13
NetworkError when attempting to fetch resource. IgnoreLists.jsm:90:10
[Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIXPCComponents_Utils.readUTF8URI]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: resource://gre/modules/L10nRegistry.jsm :: L10nRegistry.loadSync :: line 658" data: no] L10nRegistry.jsm:658:19
[Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIXPCComponents_Utils.readUTF8URI]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: resource://gre/modules/L10nRegistry.jsm :: L10nRegistry.loadSync :: line 658" data: no] L10nRegistry.jsm:658:19
Uncaught
Exception { name: "NS_ERROR_NOT_IMPLEMENTED", message: "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIMsgCompose.expandMailingLists]", result: 2147500033, filename: "chrome://messenger/content/messengercompose/MsgComposeCommands.js", lineNumber: 6970, columnNumber: 0, data: null, stack: "expandRecipients@chrome://messenger/content/messengercompose/MsgComposeCommands.js:6970:15\nGenericSendMessage@chrome://messenger/content/messengercompose/MsgComposeCommands.js:4365:5\nSendMessageWithCheck@chrome://messenger/content/messengercompose/MsgComposeCommands.js:4878:21\ndoCommand@chrome://messenger/content/messengercompose/MsgComposeCommands.js:994:9\ndoCommand@chrome://messenger/content/messengercompose/MsgComposeCommands.js:1157:9\ngoDoCommand@chrome://global/content/globalOverlay.js:101:18\noncommand@chrome://messenger/content/messengercompose/messengercompose.xhtml:1:12\n", location: XPCWrappedNative_NoHelper }
MsgComposeCommands.js:6970
An error occurred executing the cmd_sendWithCheck command: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIMsgCompose.expandMailingLists]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: chrome://messenger/content/messengercompose/MsgComposeCommands.js :: expandRecipients :: line 6970" data: no] globalOverlay.js:104
NS_ERROR_NOT_AVAILABLE: 2 ActivityManager.jsm:127
2020-08-13 09:19:57 gloda.collection ERROR caught exception from listener in onItemsModified: chrome://messenger/content/multimessageview.js:511: TypeError: tagsNode is null
Log4moz.jsm:766
2020-08-13 09:19:57 gloda.collection ERROR caught exception from listener in onItemsModified: chrome://messenger/content/multimessageview.js:511: TypeError: tagsNode is null
2020-08-13 09:19:57 gloda.collection ERROR caught exception from listener in onItemsModified: chrome://messenger/content/multimessageview.js:511: TypeError: tagsNode is null
Log4moz.jsm:766
2020-08-13 09:19:57 gloda.collection ERROR caught exception from listener in onItemsModified: chrome://messenger/content/multimessageview.js:511: TypeError: tagsNode is null
NS_ERROR_NOT_AVAILABLE: ActivityManager.jsm:127
So far, I have not managed to solve that problem, this installation of Thunderbird is not currently able to send any emails :/
Comment 76•5 years ago
|
||
The workaround so far appears to manually add every recipient to the local address book before sending which is does not scale when dealing with mailing-lists.
Updated•5 years ago
|
Comment 77•5 years ago
|
||
Despite having disabled the LDAP directory from the global addressing preferences, the very fact that it was still in the list, albeit disabled did not allow for emails to be sent out. After completely removing it, I am now able to use: Local address books, and Automatically add outgoing e-mail addresses to my Personal Address Book. This makes TB usable again, yay!
Assignee | ||
Comment 78•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 79•5 years ago
|
||
Does that satisfy your need for information (since you didn't actually ask for anything in particular)?
Comment 80•5 years ago
|
||
Sure does, thanks. I don't know how much people read bug mail, I used to churn through 200 per day, this morning I had 40. So I mostly use NI to attract some attention. The implicit question always is: Hey, what do you think about this? This falls into the area of your expertise and I think it's about time we do something about it ... where "about time" may be a very short time span if it's a recent regression.
Comment 81•5 years ago
|
||
Since I have a 100% reproducible problem here with my company LDAP directory, is anyone interested in providing fixes for me try out?
Assignee | ||
Comment 82•5 years ago
|
||
A fix will be in our nightly version once it lands, which it is now ready to do.
Comment 83•4 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/2da49519942d
Return NS_OK instead of the last return value from a loop, which is useless information. r=BenC
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 84•4 years ago
|
||
Comment on attachment 9170291 [details]
Bug 1371309 - Return NS_OK instead of the last return value from a loop, which is useless information. r?BenC
already on beta
Comment 85•4 years ago
|
||
Comment on attachment 9170291 [details]
Bug 1371309 - Return NS_OK instead of the last return value from a loop, which is useless information. r?BenC
[Triage Comment]
Approved for esr78
Comment 86•4 years ago
|
||
bugherder uplift |
Thunderbird 78.2.2:
https://hg.mozilla.org/releases/comm-esr78/rev/7d52ee217646
Description
•