How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline)
For years I've been annoyed by the habit thunderbird has to set "Content-Disposition: inline" when you attach a text file to an outgoing e-mail.
Experimenting with our mail to fax gateway, I finally took the time to fix it today. As with some other "advanced" settings in Fireforx/Thunderbird, there is an option you can set to achieve the (imho) correct behavior, but no GUI dialog for it.
So in order to have outgoing text files attached with "Content-Disposition: attachment", you need to set mail.content_disposition_type to 1 (default is 0). You can do this by going to "Edit" -> "Preferences" -> "Advanced" -> "Config Editor". (Using the windows version it's probably "Tools" -> "Options" -> etc.)
Experimenting with our mail to fax gateway, I finally took the time to fix it today. As with some other "advanced" settings in Fireforx/Thunderbird, there is an option you can set to achieve the (imho) correct behavior, but no GUI dialog for it.
So in order to have outgoing text files attached with "Content-Disposition: attachment", you need to set mail.content_disposition_type to 1 (default is 0). You can do this by going to "Edit" -> "Preferences" -> "Advanced" -> "Config Editor". (Using the windows version it's probably "Tools" -> "Options" -> etc.)
Comments
Display comments as Linear | Threaded
Lukas on :
It very helpful for me
regards,
Lukas