Text attachments are always shown inline
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)
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.
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"
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?
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.
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.
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
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?
Yes but it shows 2 attachments that are not txt files when I download them
If you save Part 1.2.1 and rename it Part 1.2.1.txt, does it open in your text editor?
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.
I don't know any other ways to recover a corrupted attachment in TB. I doubt that View/Repair Text Encoding makes any difference.
Thanks for trying.