Closed Bug 19529 Opened 25 years ago Closed 25 years ago

Certain attachment MIME structure is not recognized by Mozilla

Categories

(MailNews Core :: MIME, defect, P3)

x86
Windows NT

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: momoi, Assigned: rhp)

Details

Attachments

(1 file)

** Observed with 11/18/99 Win32 M12 build **

This bug was originally reported by Henrik Gemal <gemal@dk.net>.
Outlook 2000 uses a type of MIME structure like the following when
the user attaches a file without bothering to write a message into
the message body.

===================
From: Henrik Gemal <gemal@dk.net>
To: "'momoi@netscape.com'" <momoi@netscape.com>,
        "'iqax2@netscape.com'"
         <iqax2@netscape.com>
Subject: Body=GIF
Date: Mon, 22 Nov 1999 11:30:49 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)
Content-Type: image/gif;
        name="title.gif"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
        filename="title.gif"
Content-Location: ATT-0-E5CE1DC335A0D311A75500104B7915CA-T
        ITLE.GIF

(B64'ed data follow)
....

===================

Mozilla is not able to display an attachment clip in the Viewing window.
Note the "Content-Disposition: attachment;" line. This should be enough
to have it recognized as an attachment.

Right now, Mozilla simply shows blank body with no "clip" icon.
Thus, there is no way to know that there is an attachment here.
Under 4.7, the attachment link and icon are
displayed for this message.

Contrast this wirh a message generated by Outlook Express 5:

=========================================
Content-Type: multipart/mixed;
        boundary="----=_NextPart_000_000A_01BF3487.20EC9C70"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300

X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

This is a multi-part message in MIME format.

------=_NextPart_000_000A_01BF3487.20EC9C70
Content-Type: text/plain;
        charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit



------=_NextPart_000_000A_01BF3487.20EC9C70
Content-Type: application/octet-stream;
        name="ws_ftp.log"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
        filename="ws_ftp.log"

(file omitted)

=========================================

Here, there is an empty body but with a structure. Mozilla is able to
pick up the structure and create a clip icon. The body display
is simply empty.

Under 4.x, we show a little table with the name of an attachment for
a message of this type. I gather we already have a bug for this part,
i.e. not creating some display in the Viewing window. Assuming this to
be the case, we should use this bug for not showing the clip icon
or not recognizing the first type of attachment structure mentioned above.
The aboev attachment contains 2 messages:

1. A msg sent from Outlook 2000 whose attachment is not
   sensed by Mozilla. (discussed above)
2. A msg sent from Outlook Express 5 which contains an empty
   MIME structure followed by an attachment structure. Mozilla
   does sense there is an attachment here and displays an icon.

I made an error in MIME type for ZIP. Please save "showattachment.cgi"
as "showattachment.zip".
Status: NEW → ASSIGNED
Target Milestone: M12
Ok, there is really only one bug here...the first message with the
attachment/gif as a body is being displayed incorrectly. I need to look into
that issue.

The second message that has a logfile as the attachment is being displayed
correctly. 5.0 will no longer show that table with cryptic information in the
message body for attachments. The pulldown menu is the place to look for any
and all attachments.

- rhp
QA Contact: lchiang → pmock
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
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.

Attachment

General

Created:
Updated:
Size: