Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Cari Bantuan

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.

Pelajari Lebih Lanjut
Open

Forwarded attachments disappear after first IMAP draft save and subsequent saves fail with NS_ERROR_FILE_NOT_FOUND

Lin replied
Ondřej Pilný

Thunderbird 152.0.1 (64-bit) Build ID: 20260630165458 Windows 11 IMAP account hosted by Wedos

I found what appears to be a reproducible bug when forwarding messages with attachments.

Steps to reproduce:

1. Open an email with a JPG attachment. 2. Click Forward. 3. Save the message as Draft (IMAP Drafts). 4. Without closing the compose window, save the draft again.

Result:

The second save always fails with:

"An error occurred attaching 20260520_123800.jpg. Please check whether you have access to the file."

Error Console shows:

Failed to fetch attachment NS_ERROR_FILE_NOT_FOUND url=file:///C:/Users/<user>/AppData/Local/Temp/nsmail-1.jpg

I also observed that after the first draft save Thunderbird deletes:

C:\Users\<user>\AppData\Local\Temp\nsmail-1.jpg

However, the compose window still references this deleted temporary file.

Additional observations:

- Creating a new message and attaching a file from disk works correctly. - Forwarding a message without attachments works correctly. - Removing the forwarded attachment and attaching the same file from disk also works correctly. - Closing and reopening the saved draft restores normal behavior.

This appears to be a bug where the compose window continues using a deleted temporary attachment instead of the attachment stored in the IMAP draft.

Can anyone reproduce this with Thunderbird 152.0.1?

Thunderbird 152.0.1 (64-bit) Build ID: 20260630165458 Windows 11 IMAP account hosted by Wedos I found what appears to be a reproducible bug when forwarding messages with attachments. Steps to reproduce: 1. Open an email with a JPG attachment. 2. Click Forward. 3. Save the message as Draft (IMAP Drafts). 4. Without closing the compose window, save the draft again. Result: The second save always fails with: "An error occurred attaching 20260520_123800.jpg. Please check whether you have access to the file." Error Console shows: Failed to fetch attachment NS_ERROR_FILE_NOT_FOUND url=file:///C:/Users/<user>/AppData/Local/Temp/nsmail-1.jpg I also observed that after the first draft save Thunderbird deletes: C:\Users\<user>\AppData\Local\Temp\nsmail-1.jpg However, the compose window still references this deleted temporary file. Additional observations: - Creating a new message and attaching a file from disk works correctly. - Forwarding a message without attachments works correctly. - Removing the forwarded attachment and attaching the same file from disk also works correctly. - Closing and reopening the saved draft restores normal behavior. This appears to be a bug where the compose window continues using a deleted temporary attachment instead of the attachment stored in the IMAP draft. Can anyone reproduce this with Thunderbird 152.0.1?

Semua Balasan (1)

Yes, I can confirm. I notice that when you save the draft the first time, the temporary copies of the attachments in Windows' %TEMP% directory are deleted, even though the Compose window is still open, which is why we get the file access error. If I close the Compose window and then later open the Draft copy for more editing or to Send, the temporary copies reappear in TEMP... but if I save as a draft again, the attachments disappear again.

It looks to me like it's related to the same bug that was discussed here:

https://support.mozilla.org/en-US/questions/1587025

Ajukan pertanyaan

Anda harus masuk ke akun Anda untuk membalas kiriman ini. Sila mulai pertanyaan baru, jika Anda belum memiliki akun.