Send attachments as real attachments: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (Send plain text attachments as real attachments moved to Send attachments as real attachments)
(Clarify for attachments that are not plain text)
Line 1: Line 1:
''This article was written for Thunderbird but it also applies to the Mozilla Suite.''
''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.


Thunderbird normally sends plain text attachments inline, as part of the message body. If your recipient wants them to appear as real attachments add ''user_pref("mail.content_disposition_type", 1);'' to [[Modify_Thunderbird_settings | prefs.js or user.js]] . That should work unless the recipient configures their email client to display attachments inline. There is nothing you can do about that other than tell them its their own fault.
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 <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:
 
user_pref("mail.content_disposition_type", 1);
 
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==
==See Also==
Line 11: Line 22:


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


[[Category:Composing messages (Thunderbird)]]
[[Category:Composing messages (Thunderbird)]]
[[Category:Sending and receiving mail (Thunderbird)]]
[[Category:Sending and receiving mail (Thunderbird)]]
[[Category:Attachments (Thunderbird)]]
[[Category:Attachments (Thunderbird)]]

Revision as of 13:53, 9 May 2006

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 about:config, or by editing your user.js file and adding:

user_pref("mail.content_disposition_type", 1);

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

Plain text e-mail (Thunderbird)

Saving and detaching attachments

Forwarded messages not readable

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