Send attachments as real attachments: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(Clarify for attachments that are not plain text)
(Explain side effect of fix for inline files)
Line 12: Line 12:


  user_pref("mail.content_disposition_type", 1);
  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.
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.

Revision as of 16: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);

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

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)