[] Disable Thunderbird inline attachments
So after actually getting a complaint about it, I finally got fed up with Thunderbird sending text file attachments as inline attachments. I’d already been annoyed at GMail displaying things I sent myself inline, making it hard to copy diffs (because the amount of whitespace at the end needs to be exactly right) or easily save files.
Here’s how to tell Thunderbird to always send attachments as attachments, instead of inline:
- Open the Thunderbird Preferences (this is under “Preferences” in the Edit menu, or “Options” in the Tools menu, depending on your OS).
- Go to the Advanced section, and the General tab on there.
- Click the Config Editor button on there.
- Enter mail.content_disposition_type in the filter box.
- Double-click the only item in the list (with the exact name mail.content_disposition_type, obviously), and enter 2 as its value (instead of the 0 it’s on originally).
- Close the Config Editor with the [x], and close the Preferences with [OK].
You’re now done. Thunderbird will now send plain text files as an attachment. Any other non-binary files will still be sent inline. If you want all your files to be ‘real’ attachments rather than inline attachments, set the pref to 1 instead. Tip-of-the-hat to Marco for the tip about using 2 instead of 1.
All this information was obtained from LXR and the MozillaZine KB.
June 7th, 2007 at 23:11
Yay! Yay! Now people will believe me when I say that TB displays stuff inline. Mostly, they just tell me Mail.app is broken.
June 8th, 2007 at 02:13
Why didn’t you just tell them you had it on good authority (that is, I said so) that Mail.app was just doing as it was told?
June 8th, 2007 at 02:24
Oh, and according to the source it seems that you can set it to ‘2′ and it’ll do more sensible things. http://mxr.mozilla.org/seamonkey/source/mailnews/compose/src/nsMsgCompUtils.cpp#1024 . that should make it send text and some special stuffs as attachments, and the rest (such as images) inline.
June 8th, 2007 at 02:41
I’ve updated the post accordingly. Thanks Marco.
August 7th, 2007 at 13:47
It works perfectly!
Exactly what I’m looking for!
Thank you very much!
October 10th, 2007 at 15:21
Just wanted to say thanks for this. I too thought Mail.app was broken…
Thanks,
Charles
April 29th, 2008 at 16:29
Great post. It is exactly what I was looking for. Thanks a lot!