After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629669 - Mail viewer doesn't render colors in HTML e-mails sent from Outlook 2007
Mail viewer doesn't render colors in HTML e-mails sent from Outlook 2007
Status: RESOLVED DUPLICATE of bug 247564
Product: GtkHtml
Classification: Other
Component: Rendering
3.28.x
Other Linux
: Normal normal
: ---
Assigned To: gtkhtml-maintainers
gtkhtml-maintainers
Depends on:
Blocks:
 
 
Reported: 2010-09-14 14:55 UTC by Oded Arbel
Modified: 2010-09-14 15:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot showing the incorrect behavior with Outlook 2007 generated email (7.38 KB, image/png)
2010-09-14 14:56 UTC, Oded Arbel
Details
Screenshot showing correct behavior with Outlook 2003 generated email (6.33 KB, image/png)
2010-09-14 14:56 UTC, Oded Arbel
Details

Description Oded Arbel 2010-09-14 14:55:29 UTC
I have several correspondents that use MS-Outlook mail clients, where some use Outlook 2003 and some use Outlook 2007. When I receive messages from people using Outlook 2003, the message looks fine (except that Outlook likes to use very small fonts for some weird reason), but when I receive messages from people using Outlook 2007, the fonts look fine but all color information is missing from the HTML rendering (I do get bold, underline and other text effects).

Please see attached screenshots for example. I can also provide the original emails personally, if needed.

From looking at the HTML message source, I can see that there are colors defined, for example - here's a dump from the emails shown in the screenshot:
---8<---
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><span style='color:#76923C'>Green</span><span style='color:#1F497D'>
&#8211; Passed. <o:p></o:p></span></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><span style='color:red'>Red</span><span style='color:#1F497D'> &#8211;
Failed. <o:p></o:p></span></p>
---8<---

As can be seen in the screenshot, the red color for the word "Red" and the somewhat green color for the word "Green" are not rendered - instead the word appears as standard black.

Here is the same part but from the Outlook 2003 email. It seems that the main difference is that 2003 also ads "font" tags with their own color definition around the parts that should be colored.
---8<---
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color="#76923c" face=Calibri><span style='font-size:11.0pt;
color:#76923C'>Green</span></font><font color="#1f497d"><span style='color:
#1F497D'> &#8211; Passed. <o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=red face=Calibri><span style='font-size:11.0pt;
color:red'>Red</span></font><font color="#1f497d"><span style='color:#1F497D'> &#8211;
Failed. <o:p></o:p></span></font></p>
---8<---
Comment 1 Oded Arbel 2010-09-14 14:56:12 UTC
Created attachment 170250 [details]
Screenshot showing the incorrect behavior with Outlook 2007 generated email
Comment 2 Oded Arbel 2010-09-14 14:56:35 UTC
Created attachment 170251 [details]
Screenshot showing correct behavior with Outlook 2003 generated email
Comment 3 Oded Arbel 2010-09-14 14:58:11 UTC
I also forgot to mention (in case its not really clear): other email clients see the Outlook 2007 formatted email colors just fine - for example the second screenshot of a correct email is basically just the original email received and replied to by an Outlook 2003 client.
Comment 4 Matthew Barnes 2010-09-14 15:06:18 UTC
GtkHTML doesn't do CSS and never will.  We plan to move to WebKit/GTK+.
Comment 5 Matthew Barnes 2010-09-14 15:07:52 UTC

*** This bug has been marked as a duplicate of bug 247564 ***