Closed Bug 78571 Opened 23 years ago Closed 23 years ago

Clumsy handling of text/html attachments

Categories

(MailNews Core :: MIME, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 46655

People

(Reporter: mcovarru, Assigned: bugzilla)

Details

Emails with text/html attachments are not showing the attachments inline.  When
trying to open the text/html attachments, a dialog comes up that says:

This file has mime type text/html and cannot be viewed using Mozilla.  You can
open it with another application, or save it to disk.

Shouldn't mail be able to handle html attachments a little more smoothly than this?
Does that attachment really have the text/html mimetype?  Or is it attached as
something wacky?  That dialog has a known truthfulness problem....
I think you may right...

Netscape 4.61 reports the file's mime type as application/octet-stream.  The
file is called "blah.htm", and it really is an HTML file, despite the
octet-stream type it was assigned.  Netscape 4.61 does not render the attachment
inline but will open a Communicator window without complaint to view the attachment.
I would say that what you're seeing is a combination of bug 46655 (the dialog
reporting the wrong mimetype) and bug 52441 (which means that on Linux we don't
properly map the .htm extension to the text/html mimetype).
Yes, I think I agree with that.  Certainly there's some bug 46655 going on here:
the mime type is actually application/octet-stream but it's reported as
text/html.  And quite possibly if bug 52441 were addressed and Mozilla could
associate .htm files with the text/html mimetype, this problem might disappear.
Duping

*** This bug has been marked as a duplicate of 46655 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Mark it as verified/dup.
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.