Closed Bug 270630 Opened 20 years ago Closed 20 years ago

Mail import function from Outlook 2003 imports some HTML mails as plain text

Categories

(Thunderbird :: Migration, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mozillabugzilla, Assigned: Bienvenu)

Details

(Keywords: fixed-aviary1.0)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

When importing mails from Outlook 2003 to TB, *some* (but not all) html messages
are mistakenly imported as plain text, and one can see the html code in the
message body area.

I found that if I change the message type from "content-type: plain/text" to
"content-type: plain/html" in the message store file, then everything works
fine. However, doing that by hand in a file that contains several thousand
messages would take days...

My Thunderbird build: version 0.9+ (20041117), zip version
Runs on: Windows XP SP2

Reproducible: Always
Steps to Reproduce:
1. Use the Import function from TB to import mails from Outlook 2003

Actual Results:  
Most HTML mails imported properly. However, some of them (especially some with
attachments) were imported with the wrong message type. They were wrongly
interpreted as "plain text" messages, with all the HTML code showing in the
message area.

Expected Results:  
The SW did not recognize that the messages were HTML messages. If I change the
message type from "content-type: plain/text" to "content-type: plain/html" in
the message store file, then everything works fine. However, doing that by hand
in a file that contains several thousand messages would take days...
Two examples of the problem. They show the mails as they appear in the TB
storage after importing. In addition, the original "internet headers", as they
appear inside Outlook 2003.
As you can see, the contents were wrongly set as "Content-Type: text/plain;".
Perhaps the problem was that they were specified as "Content-Type:
multipart/related;" in Outlook 2003, which is not a frequently used
content-type...
can you send me the complete original message so I can just try it with outlook
2003? thx!
(In reply to comment #2)
> can you send me the complete original message so I can just try it with outlook
> 2003? thx!

OK, I will send it to you as an attachment, using the Outlook 2003 client. I
hope this is what you meant...
that should work - or I was thinking of the Outlook equivalent of Edit Message
as New, re-address to me, and resending...assuming that keeps the message as
unimportable - forward as attachment is probably safer...
Attached patch proposed fixSplinter Review
this seems to fix it...
Assignee: mscott → bienvenu
Status: UNCONFIRMED → ASSIGNED
Attachment #166410 - Flags: superreview?(mscott)
Attachment #166410 - Flags: superreview?(mscott) → superreview+
Keywords: fixed-aviary1.0
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
verified on latest win32 20041122 build
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: