We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

搜尋 Mozilla 技術支援網站

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

了解更多

Text attachments are always shown inline

  • 12 回覆
  • 1 有這個問題
  • 18 次檢視
  • 最近回覆由 Pye

more options

I regularly receive a txt file which I need to download and import into an analysis programme, but it always shows inline. The content it shows is incomplete so even if I copy it and paste it into another file it is not useable.

I have unchecked 'display attachments inline', I've gone into the config editor and changed mail.inline_attachments.text to false and yet it still display it inline.

At my wits end, I tried out 2 other email clients tonight and they both show it as a downloadable attachment so there is nothing wrong with the file or how it is sent.

I regularly receive a txt file which I need to download and import into an analysis programme, but it always shows inline. The content it shows is incomplete so even if I copy it and paste it into another file it is not useable. I have unchecked 'display attachments inline', I've gone into the config editor and changed mail.inline_attachments.text to false and yet it still display it inline. At my wits end, I tried out 2 other email clients tonight and they both show it as a downloadable attachment so there is nothing wrong with the file or how it is sent.

所有回覆 (12)

more options

How does it look with View/Message Body As set to Plain Text or Simple HTML? Look at the message source (Ctrl+U) and copy the Content-Type and Content-Disposition info into a reply here.

more options

Still looks the same, if that's what you meant.

Content-Type: multipart/mixed; Content-Disposition: attachment; filename="shaungglobal - KeyserSoze 13pt Backgammon Studio 2022_03_05

12_54_49.txt"
more options

The Content-Type: multipart/mixed part would instead be Content-Type: text/plain if the attachment was a properly encoded plain text file. I don't know if this is the fault of the sender's mail app or a flaw in TB, which has problems with some kinds of attachments. If you save the attachment, does it open correctly in your text editor? If you then attach it to a message to yourself from TB, does the received message display correctly?

more options

I'm sorry the whole problem is I can't save it as an attachment. if I copy and paste the text as displayed (see img) its corrupt and will not analyse. I wondered if there was something wrong with the file which is why I tried the other clients tonight, both work perfectly. I want to stay with Thunderbird though if I can.

more options

That doesn't look like a plain text 'file' to me, but a file that was created in some non-standard way. The =0A characters are line feed characters. But that's about the limit of my knowledge of character encoding.

more options

All the other clients I tried, plus logging in online show this as a downloadable file with a .txt extension. All I want to do is have it not show inline, I don't know why Thunderbird won't just show it as a download.

由 Pye 於 修改

more options

Open Config. editor in Preferences/General/Indexing and toggle the pref. mailnews.display.show_all_body_parts_menu to true to make All Body Parts appear in the View/Message Body As menu. If All Body Parts is selected, does the file appear in the attachment pane?

more options

Yes but it shows 2 attachments that are not txt files when I download them

more options

If you save Part 1.2.1 and rename it Part 1.2.1.txt, does it open in your text editor?

more options

It does but the data is still corrupted, cannot be analysed, the same as if I copy and paste what I see in the email.

more options

I don't know any other ways to recover a corrupted attachment in TB. I doubt that View/Repair Text Encoding makes any difference.

more options

Thanks for trying.