Send attachments as real attachments: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(Explain side effect of fix for inline files)
(replaced about:config with Config Editor)
Line 9: Line 9:


To send attachments as real attachments, set the value of your <tt>mail.content_disposition_type</tt> preference to <tt>1</tt>.
To send attachments as real attachments, set the value of your <tt>mail.content_disposition_type</tt> preference to <tt>1</tt>.
You can do this by using [[about:config]], or by editing your [[user.js]] file and adding:
You can do this by using Tools -> Options -> Advanced -> General -> Config Editor to change the value, or by editing the optional [[user.js]] file and adding:


  user_pref("mail.content_disposition_type", 1);
  user_pref("mail.content_disposition_type", 1);
Line 18: Line 18:


==See Also==
==See Also==
[[About:config]] (If you're not using Thunderbird)
[[Forwarded messages not readable]]


[[Plain text e-mail (Thunderbird)]]
[[Plain text e-mail (Thunderbird)]]
Line 23: Line 27:
[[Saving and detaching attachments]]
[[Saving and detaching attachments]]


[[Forwarded messages not readable]]
[[Modify Thunderbird settings]]


[https://bugzilla.mozilla.org/show_bug.cgi?id=65794 Bug 65794]: Some attachments (like text/plain, text/html) get Content-Disposition: inline (incorrect)
[https://bugzilla.mozilla.org/show_bug.cgi?id=65794 Bug 65794]: Some attachments (like text/plain, text/html) get Content-Disposition: inline (incorrect)

Revision as of 23:57, 1 March 2007

This article was written for Thunderbird but it also applies to the Mozilla Suite.

Thunderbird normally sends attachments inline (as part of the message body), not as real attachments.

Some recipients will see some of your attachments as part of the message body, even if this makes no sense. For example, if you attach a plain text file, then some recipients will not see an attached file. Instead, they will see the contents of the file at the bottom of your message. If the file is encoded data, then some recipients might see garbage at the bottom of your message.

To send attachments as real attachments, set the value of your mail.content_disposition_type preference to 1. You can do this by using Tools -> Options -> Advanced -> General -> Config Editor to change the value, or by editing the optional user.js file and adding:

user_pref("mail.content_disposition_type", 1);

After you make this change, Thunderbird sends all files as attachments. Even if you paste a file into the body of an e-mail, some recipients might see it as a separate attachment.

Sometimes a recipient might configure their e-mail client to display all attachments inline. There is nothing you can do about that other than tell them it's their own fault.

See Also

About:config (If you're not using Thunderbird)

Forwarded messages not readable

Plain text e-mail (Thunderbird)

Saving and detaching attachments

Modify Thunderbird settings

Bug 65794: Some attachments (like text/plain, text/html) get Content-Disposition: inline (incorrect)