This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Text attachments are always shown inline

  • 12 replies
  • 1 has this problem
  • 18 views
  • Last reply by 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.

All Replies (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.

Modified by 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.