Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Error when trying to save or send message on Linux

  • No replies
  • 0 have this problem
more options

Hello, I've had some random error crop up on my Ubuntu install of Thunderbird. It suddenly won't let me do anything with outgoing email, whether that's saving a draft or sending it. This happens regardless of which email account and server it's on (both MS and Google) and no matter what is in the message. I have no issues getting messages or moving things around folder to folder within Thunderbird. I also do not have this issue on my various Mac installations using the same email accounts. Based on some other digging, I've already tried resetting my OAuth tokens and that did nothing. I've run the developer console and found the following messages when trying to save:

mailnews.send: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.createUnique]

   createMessageFile resource:///modules/MimeMessage.sys.mjs:69
   createAndSendMessage resource:///modules/MessageSend.sys.mjs:145
   CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6446
   GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6362
   SaveAsDraft chrome://messenger/content/messengercompose/MsgComposeCommands.js:7069
   Save chrome://messenger/content/messengercompose/MsgComposeCommands.js:7047
   doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1044
   doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1261
   goDoCommand chrome://messenger/content/globalOverlay.js:99
   oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1

MessageSend.sys.mjs:147:32

   createAndSendMessage resource:///modules/MessageSend.sys.mjs:147
   CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6446
   GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6362
   SaveAsDraft chrome://messenger/content/messengercompose/MsgComposeCommands.js:7069
   Save chrome://messenger/content/messengercompose/MsgComposeCommands.js:7047
   doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1044
   doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1261
   goDoCommand chrome://messenger/content/globalOverlay.js:99
   oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1

mailnews.send: Sending failed; , exitCode=2147500037, originalMsgURI= MessageSend.sys.mjs:341:32

   fail resource:///modules/MessageSend.sys.mjs:341
   createAndSendMessage resource:///modules/MessageSend.sys.mjs:155
   CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6446
   GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6362
   SaveAsDraft chrome://messenger/content/messengercompose/MsgComposeCommands.js:7069
   Save chrome://messenger/content/messengercompose/MsgComposeCommands.js:7047
   doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1044
   doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1261
   goDoCommand chrome://messenger/content/globalOverlay.js:99
   oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1


Then I get something similar when trying to send: mailnews.send: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.createUnique]

   createMessageFile resource:///modules/MimeMessage.sys.mjs:69
   createAndSendMessage resource:///modules/MessageSend.sys.mjs:145
   CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6446
   GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6362
   SendMessageWithCheck chrome://messenger/content/messengercompose/MsgComposeCommands.js:7021
   doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1116
   doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1261
   goDoCommand chrome://messenger/content/globalOverlay.js:99
   oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1

MessageSend.sys.mjs:147:32

   createAndSendMessage resource:///modules/MessageSend.sys.mjs:147
   CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6446
   GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6362
   SendMessageWithCheck chrome://messenger/content/messengercompose/MsgComposeCommands.js:7021
   doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1116
   doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1261
   goDoCommand chrome://messenger/content/globalOverlay.js:99
   oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1

mailnews.send: Sending failed; , exitCode=2147500037, originalMsgURI= MessageSend.sys.mjs:341:32

   fail resource:///modules/MessageSend.sys.mjs:341
   createAndSendMessage resource:///modules/MessageSend.sys.mjs:155
   CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6446
   GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6362
   SendMessageWithCheck chrome://messenger/content/messengercompose/MsgComposeCommands.js:7021
   doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1116
   doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1261
   goDoCommand chrome://messenger/content/globalOverlay.js:99
   oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1


What on earth is going on here? It looks like it's failing to actually create the file that holds the message and that failure prevents anything else from happening. Thanks!

Hello, I've had some random error crop up on my Ubuntu install of Thunderbird. It suddenly won't let me do anything with outgoing email, whether that's saving a draft or sending it. This happens regardless of which email account and server it's on (both MS and Google) and no matter what is in the message. I have no issues getting messages or moving things around folder to folder within Thunderbird. I also do not have this issue on my various Mac installations using the same email accounts. Based on some other digging, I've already tried resetting my OAuth tokens and that did nothing. I've run the developer console and found the following messages when trying to save: mailnews.send: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.createUnique] createMessageFile resource:///modules/MimeMessage.sys.mjs:69 createAndSendMessage resource:///modules/MessageSend.sys.mjs:145 CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6446 GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6362 SaveAsDraft chrome://messenger/content/messengercompose/MsgComposeCommands.js:7069 Save chrome://messenger/content/messengercompose/MsgComposeCommands.js:7047 doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1044 doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1261 goDoCommand chrome://messenger/content/globalOverlay.js:99 oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1 MessageSend.sys.mjs:147:32 createAndSendMessage resource:///modules/MessageSend.sys.mjs:147 CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6446 GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6362 SaveAsDraft chrome://messenger/content/messengercompose/MsgComposeCommands.js:7069 Save chrome://messenger/content/messengercompose/MsgComposeCommands.js:7047 doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1044 doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1261 goDoCommand chrome://messenger/content/globalOverlay.js:99 oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1 mailnews.send: Sending failed; , exitCode=2147500037, originalMsgURI= MessageSend.sys.mjs:341:32 fail resource:///modules/MessageSend.sys.mjs:341 createAndSendMessage resource:///modules/MessageSend.sys.mjs:155 CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6446 GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6362 SaveAsDraft chrome://messenger/content/messengercompose/MsgComposeCommands.js:7069 Save chrome://messenger/content/messengercompose/MsgComposeCommands.js:7047 doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1044 doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1261 goDoCommand chrome://messenger/content/globalOverlay.js:99 oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1 Then I get something similar when trying to send: mailnews.send: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.createUnique] createMessageFile resource:///modules/MimeMessage.sys.mjs:69 createAndSendMessage resource:///modules/MessageSend.sys.mjs:145 CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6446 GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6362 SendMessageWithCheck chrome://messenger/content/messengercompose/MsgComposeCommands.js:7021 doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1116 doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1261 goDoCommand chrome://messenger/content/globalOverlay.js:99 oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1 MessageSend.sys.mjs:147:32 createAndSendMessage resource:///modules/MessageSend.sys.mjs:147 CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6446 GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6362 SendMessageWithCheck chrome://messenger/content/messengercompose/MsgComposeCommands.js:7021 doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1116 doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1261 goDoCommand chrome://messenger/content/globalOverlay.js:99 oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1 mailnews.send: Sending failed; , exitCode=2147500037, originalMsgURI= MessageSend.sys.mjs:341:32 fail resource:///modules/MessageSend.sys.mjs:341 createAndSendMessage resource:///modules/MessageSend.sys.mjs:155 CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6446 GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:6362 SendMessageWithCheck chrome://messenger/content/messengercompose/MsgComposeCommands.js:7021 doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1116 doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1261 goDoCommand chrome://messenger/content/globalOverlay.js:99 oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1 What on earth is going on here? It looks like it's failing to actually create the file that holds the message and that failure prevents anything else from happening. Thanks!

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.