Closed Bug 129853 Opened 24 years ago Closed 24 years ago

Problem email with MIME encoded HTML

Categories

(MailNews Core :: MIME, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: lapsap7+mz, Assigned: bugzilla)

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8+) Gecko/20020304 BuildID: 20020304 I've received an email containing an HTML but Mozilla can't display it. I saved it in a file and found that Outlook Express can display it. What's the cause of the problem? The MIME part is wrong (because it lacks several headers)? Or Mozilla isn't programmed yet for this kind of MIME format? Reproducible: Always
This attached contains a real case, well, almost. First I've changed the sender's address (that I suppose wouldn't affect anything). Second, the MIME encoded HTML part isn't the original one but a test case that I replaced into it. I've tried again with Mozilla and Outlook Express and still got the same result.
After some trials and errors, I've found out the cause: in the email header, if we remove the following line, Mozilla is able to display the content. Content-Type: text/html;charset=big5 So, the problem is the email or Mozilla?
the email is invalid! The mail has: Content-Type: text/html;charset=big5 Content-Type: multipart/mixed; boundary = b07bac4987f1ca929d60485ad5ed22bb1 the mail cannot be both! The charset header should have been moved to the part ifself like this: ------------- Content-Type: multipart/mixed; boundary = b07bac4987f1ca929d60485ad5ed22bb1 This is a MIME encoded message. --b07bac4987f1ca929d60485ad5ed22bb1 Content-Transfer-Encoding: base64 Content-Type: text/html;charset=big5 -------------- then it work fine! So the problem is a invalid email!
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
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: