為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Sending of The message Failed. Unable to open the temporary file

  • 8 回覆
  • 2 有這個問題
  • 11 次檢視
  • 最近回覆由 Matt

more options

Sending of The message Failed. Unable to open the temporary file c:\users\username\appdata\local\Temp\nsgD5E6.tmp \comtainedtemp\nsmail.temp check your 'temporary Directory setting.

Sending of The message Failed. Unable to open the temporary file c:\users\username\appdata\local\Temp\nsgD5E6.tmp \comtainedtemp\nsmail.temp check your 'temporary Directory setting.
附加的畫面擷圖

所有回覆 (8)

more options

Last time I heard of that it was, I think, Avast anti virus that was locking the file and an exception had to be created in the product so it did not scan the nsmail temp file.

more options

Matt said

Last time I heard of that it was, I think, Avast anti virus that was locking the file and an exception had to be created in the product so it did not scan the nsmail temp file.

i am using Seqrite EPS

more options

Suggest you exclude a path for scanning. c:\users\username\appdata\local\Temp\nsgD5E6.tmp \comtainedtemp\nsmail.temp

http://dlupdate.quickheal.com/seqrite/documents/en/manuals/Seqrite_Endpoint_Security_EPS_Administrator_Guide.pdf page 110 mentions excluding files and folders.

more options

MAYUR SINDHA said

Matt said
Last time I heard of that it was, I think, Avast anti virus that was locking the file and an exception had to be created in the product so it did not scan the nsmail temp file.

i am using Seqrite EPS

The product might have a different name, but the cause will be the same. Fix your anti virus.

more options

Workaround: I don't know how to change my temp directory or anti virus settings. I have found a solution in making sure to remove attachments when trying to save drafts or send re-opened drafts.

Workaround is to simply REMOVE attachments when saving and then add them later before sending. As the below link explains, somehow saving a draft WITH an attachment screws up the directory.

[Note I did NOT use the "Bash" code suggested in the final paragraph below, which a solution a different person posted.]

https://www.franzoni.eu/thunderbird-temporary-directory/

Thunderbird temporary directory

Whenever you use Thunderbird on Linux you may encounter one annoying behavior.

If you open a message which is got an attachment - you just need to open the message, not to save the attachment! - Thunderbird will place such attachment in our temporary directory, usually /tmp. You find the file there, and you think you used the Save as function to place it there, so you open it and you edit it.

Then you close Thunderbird, and poof! It clears its temporary files and deletes your modified attachment, possibly containing a day's work.

The workaround is simple: just use a launcher that changes Thunderbird TMP directory and use that to start Thunderbird! Bash coding:

  1. !/bin/bash -e

mkdir -p /tmp/thunderbird TMP=/tmp/thunderbird /usr/bin/thunderbird "$@"

You may need to adjust the original binary path, then you can put such script in your path before your /usr/bin directory and you're done.

由 earcuffs 於 修改

more options

@earcuffs, sidestepping the issue does not fix it. You appear to be using a unix/Linux distro if you are using bash. So how come you have an anti virus product to change? What is it?

more options

No, I am NOT using Bash or unx/Linux as explained in the note in my post: [Note I did NOT use the "Bash" code suggested in the final paragraph below, which a solution a different person posted.]

My operating system is windows 10 with the McAfee security suite provided by AT&T and also use the SuperAntiSyware program. I think the reason WHY the problem occurs is like the person explained in the link referenced https://www.franzoni.eu/thunderbird-temporary-directory/

ThunderBird and Mozilla sometimes react differently after various computer updates. I am not a computer whiz at all, so i have no clue to why this problem popped up. Since the procedure of NOT saving a retrieved draft WITH an attachment in it, works for me, it is a workable easy solution. No problems since.

由 earcuffs 於 修改

more options

What is the problem with fixing McAfee. Nope you off looking for workarounds when the problem is your anti virus. Perhaps you should have invested in a phone call to McAfee support if you don't know how to use the software. Or posted in their support forums. Or removed the product that was to complex for you and used windows defender which would not be causing the same problems.

McAfee was a good product once upon a time, then John McAfee sold the company. Since 2012 is has been like a running sore causing issue after issue with Thunderbird because the developers of the product just don't appear to care or test their product.

See the comments here https://wiki.mozilla.org/Thunderbird:Testing:Antivirus_Related_Performance_Issues#McAfee and make sure you disable the anti spam add-on if they still offer it.

https://smallbusiness.chron.com/add-exceptions-mcafee-69566.html use the instruction here to fix McAfee if you are unable to find them elsewhere. I googled those this morning. I do not use the product and council other to avoid it as well so if the instructions are for the wrong version. Ask McAfee for the correct ones.

That the guy posting your workaround is stupid enough to think he should be editing files in his temp directory would be enough for me to dismiss anything he said after that. His cure, break his operating system. Perhaps he should respect the purpose of the temp folder and the fact that temporary files in the Temp folder are meant to be deleted. Just like McAfee should not be so slow and heavy handed with it's scanning the you get errors in other software.

由 Matt 於 修改