Closed
Bug 223500
Opened 21 years ago
Closed 21 years ago
MIME formatted e-mail displaying attachment inline produced wrong output.
Categories
(MailNews Core :: Attachments, defect)
Tracking
(Not tracked)
People
(Reporter: wallycrooze, Assigned: sspitzer)
Details
Attachments
(1 file)
1.46 KB,
message/rfc822
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5) Gecko/20031007
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5) Gecko/20031007
The following email is MIME formatted with content-type text and rfc822
containing html. Displaying without "inline attachment" shows the email in
correct background colour (white in my case). Displaying with "inline
attachment" uses the html background colour (blue) for all the message,
including the original text. This is incorrect, only the attachment should be
displayed blue.
From - Fri Oct 24 13:55:23 2003
X-UIDL: 3f98a29b0000000b
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
From: "baardvark@erols.com" <baardvark@erols.com>
To: "spammed_user@dog.com" <spammed_user@dog.com>
Subject: ***** SUSPECTED SPAM ***** [spam score 1/10 -dog] switch your body
back on again
Date: Thu, 23 Oct 2003 13:02:31 +0800
X-Priority: 3 (normal)
Importance: Normal
X-Mailer: Pegasus Mail for Win32 (v3.12a)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_3F976385.2F2117C0"
Content-Transfer-Encoding: base64
Message-Id: <20031023050332.6A253202F1E@dog.com>
X-Spam-Status: Yes, hits=9.3 required=6.7 tests=BAYES_90,HG_HORMONE,
HTML_60_70,HTML_FONTCOLOR_UNKNOWN,HTML_FONT_BIG,HTML_MESSAGE,
MIME_BASE64_LATIN,MIME_BASE64_TEXT,MIME_HTML_ONLY,TO_ADDRESS_EQ_REAL,
USERPASS autolearn=no version=2.60
X-Spam-Flag: YES
X-Spam-Level: *********
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on
dog.com
Status:
This is a multi-part message in MIME format.
------------=_3F976385.2F2117C0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
-------------------- Start SpamAssassin results ----------------------
This mail is probably spam. The original message has been altered
so you can recognise or block similar unwanted mail in future.
See https://spam.dog.com/why.html for more details.
Content analysis details: (9.3 hits, 6.7 required)
0.6 TO_ADDRESS_EQ_REAL To: repeats address as real name
0.3 HTML_FONTCOLOR_UNKNOWN BODY: HTML font color is unknown to us
0.5 HTML_60_70 BODY: Message is 60% to 70% HTML
2.5 BAYES_90 BODY: Bayesian spam probability is 90 to 99%
[score: 0.9241]
0.1 HTML_MESSAGE BODY: HTML included in message
0.3 HTML_FONT_BIG BODY: HTML has a big font
0.2 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
0.5 MIME_BASE64_LATIN RAW: Latin alphabet text using base64 encoding
1.0 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding
2.3 USERPASS URI: URL contains username and (optional) password
1.0 HG_HORMONE Talks about hormones for human growth
-------------------- End of SpamAssassin results ---------------------
The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam. If you wish to view
it, it may be safer to save it to a file and open it with an editor.
------------=_3F976385.2F2117C0
Content-Type: message/rfc822; x-spam-type=original
Content-Description: original message before SpamAssassin
Content-Disposition: attachment
Content-Transfer-Encoding: 8bit
From: "baardvark@erols.com" <baardvark@erols.com>
To: "spammed_user@dog.com" <spammed_user@dog.com>
Subject: [spam score 1/10 -dog] switch your body back on again
Date: Thu, 23 Oct 2003 13:02:31 +0800
X-Priority: 3 (normal)
Importance: Normal
X-Mailer: Pegasus Mail for Win32 (v3.12a)
MIME-Version: 1.0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: base64
Message-Id: <20031023050332.6A253202F1E@dog.com>
PEhUTUw+PEhFQUQ+PFRJVExFPmNyeXN0YWw8L1RJVExFPjwvSEVBRD4NCjxCT0RZIGJnY29sb3I9
IiMzMzAwRkYiPjxkaXYgYWxpZ249ImNlbnRlciI+DQo8dGFibGUgd2lkdGg9NTAwc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5IG1ha2VzIHlvdSBsb29rIGFuZCBmZWVsIDIwIFlF
QVJTIFlPVU5HRVIhPC9pPjxicj48YnI+PC9iPjwvZm9udD4NCjwvdGQ+PC90cj48L3RhYmxlPjw0
aGZsOD4NCjxicj4NCjx0YWJsZSB3aWR0aD01MDBweCBiZ2NvbG9yPSJ3aGl0ZSIgYm9yZGVyY29s
b3JkYXJrPSJ3aGl0ZSIgYm9yZGVyY29sb3JsaWdodD0id2hpdGUiIGJvcmRlcj0iMSIgY2VsbHBh
ZGRpbmc9MCBjZWxsc3BhY2luZz0wPjx0cj48dGQgYWxpZ249ImNlbnRlciI+PGJyPg0KPGEgaHJl
Zj0iaHR0cDovL2NyeXN0YWxAd3d3LmhlcmJhbC11c2EudXMvd2hpdGVsaW5lL2hnaC8/NGhmbDgi
Pjxmb250IHNpemU9IjUiIGZhY2U9IlZlcmRhbmEiIGNvbG9yPSJibHVlIj48Yj5UaGlzIExpbmsg
V29ya3MgVGhpcyBUaW1lITwvYj48L2ZvbnQ+PC9hPjxicj4NCjxmb250IHNpemU9Ii0xIiBmYWNl
PSJ2ZXJkYW5hIiBjb2xvcj0iYmxhY2siPihzb3JyeSBhYm91dCB0aGUgYnJva2VuIGxpbmsgbGFz
dCB0aW1lIGd1eXMhISk8L2ZvbnQ+PGJyPg0KPC90ZD48L3RyPjwvdGFibGU+DQo8L2Rpdj48L0JP
RFk+PC9IVE1MPg0K
------------=_3F976385.2F2117C0--
Reproducible: Always
Steps to Reproduce:
1. Add the above email to your folder.
2. View without "inline attachment".
3. View with "inline attachment".
Actual Results:
Without "inline attachment" displays normal (white) background.
With "inline attachment" displays entire email in html (blue) background.
Expected Results:
Without "inline attachment" displays normal (white) background.
With "inline attachment" displays text part in normal (white) background and
attachment in html (blue) background.
I can confirm this on Win98. The attached message shows a similar (even worse)
problem. The attachment in the message is html and it contains style definitions
for the DIV tag. This seems to affect (it completely hoses it) the display of
the whole message - plain text body and all attachments shown inline.
Simply, the body and attachments don't have a separate render space so that
their CSS definitions would not affect each other.
Updated•21 years ago
|
Attachment #142025 -
Attachment mime type: text/html → message/rfc822
Comment 3•21 years ago
|
||
*** This bug has been marked as a duplicate of 76804 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•