Bug: sending failure no error message if collected addresses address book (history.sqlite) MIA
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2025-01-24 17:17:18+00:00
Resolved: 2025-02-03 13:40:14+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Steps to reproduce:

attempt to send or reply to emails, multiple destinations, multiple accounts with different smtp servers.
 
Also attempted in Troubleshoot mode, no difference.


Actual results:

no error on sending mail, the send button clicks but new mail window remains open. when closing window am prompted to save into drafts.

NS_ERROR_FAILURE: No directory for uri=jsaddrbook://history.sqlite AddrBookManager.sys.mjs:282
    getDirectory resource:///modules/AddrBookManager.sys.mjs:282
    collectSingleAddress resource:///modules/AddressCollector.sys.mjs:56
    _collectAddressesToAddressBook resource:///modules/MessageSend.sys.mjs:1268
    _deliverAsMail resource:///modules/MessageSend.sys.mjs:1176
    _deliverMessage resource:///modules/MessageSend.sys.mjs:853
    AsyncFunctionNext self-hosted:800
    (Async: async)
    createAndSendMessage resource:///modules/MessageSend.sys.mjs:165
    AsyncFunctionNext self-hosted:800
    (Async: async)
    CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6445
    GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6361
    InterpretGeneratorResume self-hosted:1413
    AsyncFunctionNext self-hosted:800
    (Async: async)
    SendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6973
    AsyncFunctionNext self-hosted:800
    (Async: async)
    doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1084
    doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1262
    goDoCommand chrome://messenger/content/globalOverlay.js:99
    oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1

GenericSendMessage FAILED: [Exception... "No directory for uri=jsaddrbook://history.sqlite"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/AddrBookManager.sys.mjs :: getDirectory :: line 282"  data: no]

NS_ERROR_FAILURE: No directory for uri=jsaddrbook://history.sqlite
    getDirectory resource:///modules/AddrBookManager.sys.mjs:282
    collectSingleAddress resource:///modules/AddressCollector.sys.mjs:56
    _collectAddressesToAddressBook resource:///modules/MessageSend.sys.mjs:1268
    _deliverAsMail resource:///modules/MessageSend.sys.mjs:1176
    _deliverMessage resource:///modules/MessageSend.sys.mjs:853
    createAndSendMessage resource:///modules/MessageSend.sys.mjs:165
    CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6445
    GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6361
    SendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6973
    doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1084
    doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1262
    goDoCommand chrome://messenger/content/globalOverlay.js:99
    oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1


Expected results:

on send failure, a dialog that notifys that send failed and some type of useful error message.