Closed Bug 20655 Opened 26 years ago Closed 24 years ago

Allow changing content-disposition on outgoing attachments

Categories

(MailNews Core :: Composition, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: phil, Assigned: m_kato)

Details

(Keywords: helpwanted)

Subject: content-dispostion=attachment Date: Tue, 30 Nov 1999 00:14:34 -0500 From: "Alan G. Isaac" <aisaac@american.edu> Organization: Another Netscape Collabra Server User Newsgroups: netscape.public.mozilla.wishlist Please do not force .txt and HTML attachments to have content-dispostion=inline One result of this is that Lotus Notes does not handle Netscape attachments of .txt and HTML files. It places them inline, so they are not accessible as attachments. Lotus knows this. Here's what they say. ``The problem is the result of the way the Netscape SMTP client sends the message. Because the Netscape client uses "Content-Disposition=Inline" for *.TXT attachments and not "Content-Disposition=attachment", all text attachments will be expanded upon receipt of message. Domino 4.6x follows the RFC standards more closely... Netscape client and SMTP MTA 1.1 do not follow the RFC standard on attachments as closely. The Content Disposition of an attachment will determine if it is passed as an attachment or inline (for example, .TXT will pass as inline).'' If Lotus is right, I do not understand why Netscape has not made fixing this a priority. If Lotus is wrong, I would appreciate a brief explanation that I can take back to them.
I don't know if I think Lotus is right, but it would be nice to provide some prefs or something to make this settable for people who know they need it in order to interoperate with some other mail system.
Summary: Allow changing content-disposition on outgoing attachments → [HELP WANTED] Allow changing content-disposition on outgoing attachments
Whiteboard: [HELP WANTED]
Another data point: Outlook Express seems to always use "content-disposition: attachment"
well, for text/plain and text/html anyway
Keywords: helpwanted
Summary: [HELP WANTED] Allow changing content-disposition on outgoing attachments → Allow changing content-disposition on outgoing attachments
Whiteboard: [HELP WANTED]
In my patches of bug 22861, this fix code is included. But law doesn't included my codes.
please assign to me if anyone does not become owner.
Ok, reassigned to you. You're welcome to do that yourself with bugs assigned to nobody@mozilla.org
Assignee: nobody → m_kato
Changing content-dispostion for an attachment, could be added to a context menu to the attachment box in the compose window. The context menu could look something like: Advanced->Content-Dispostion->Inline [ ] Attachment [x]
Probably, this will resolve that you add the following line to prefs.js. user_pref("mail.content_disposition_type", 1); If you want changing UI. please open new bug.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Bug 67160 for the UI.
the correct new UI bug is bug 66915
QA Contact: lchiang → fenella
To Esther..
QA Contact: fenella → esther
Kato, please let me know if this is a worksforme or if you fixed it by adding a hidden pref "user_pref("mail.content_disposition_type", 1);" to the product.
Using the build 2001-09-04 on win, mac and linux and adding editing the prefs.js file, I now see content disposition attachment on .xls .pdf .zip & .js files that showed dispositon as inline before the pref.js edit. This is fixed for backend, frontend is a different bug. Verified
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.