Closed Bug 19529 Opened 20 years ago Closed 20 years ago

Certain attachment MIME structure is not recognized by Mozilla


(MailNews Core :: MIME, defect, P3, major)

Windows NT


(Not tracked)



(Reporter: momoi, Assigned: rhp)



(1 file)

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

This bug was originally reported by Henrik Gemal <>.
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 <>
To: "''" <>,
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;
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
Content-Location: ATT-0-E5CE1DC335A0D311A75500104B7915CA-T

(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;
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.

Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Content-Type: application/octet-stream;
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;

(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 "".
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
Closed: 20 years ago
Resolution: --- → FIXED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.