View Issue Details

IDProjectCategoryView StatusLast Update
0001276SOGoWeb Mailpublic2011-05-17 15:26
Reportercorradofiore Assigned Toludovic  
Status resolvedResolutionfixed 
Product Version1.3.6 
Fixed in Version1.3.8 
Summary0001276: This email won't be correctly displayed

Dear All,

I'm attaching an HTML email which SOGo webmail won't display correctly (it shows garbage characters).

TagsNo tags attached.


2011-05-02 17:09


message.eml (100,771 bytes)
Christian Mack

Christian Mack

2011-05-03 09:13

developer   ~0002420

That this is not displayed correctly isn't surprising at all.

The text/html part is invalid!

First there is an image tag before the actual html header!

<img src="; width="1" height="1">

<html xmlns:xs="; xmlns:fn="; xmlns:xdt="; xmlns:my=";>

Also it says "document is in utf-16" but this document is in utf-8!

<META http-equiv="Content-Type" content="text/html; charset=utf-16">



2011-05-03 11:23

reporter   ~0002421

Thanks for doing such a thorough analysis. I believe it can help developers make SOGo more capable of displaying also malformed messages, like most desktop clients do.

I've done a quick benchmark and found the following:

Apple Mail on Mac OS x 10.6.7 => 100% correct
Windows Mail on Vista => 100% correct
Thunderbird 3.1 on Mac OS X => few characters don't display correctly, overall fine
Thunderbird 3.1 on Vista => 100% correct



2011-05-03 19:40

reporter   ~0002424

I'm attaching a new sample message (message2.eml) which triggers a wrong rendering in SOGo (see screenshot). I've seen this behavior also with other messages (not only newsletters).

The same message displays fine in RoundCube, Apple Mail and Mozilla Thunderbird under OS X.

2011-05-03 19:40


message2.eml (22,988 bytes)

2011-05-03 19:40




2011-05-17 15:26

administrator   ~0002488


Issue History

Date Modified Username Field Change
2011-05-02 17:09 corradofiore New Issue
2011-05-02 17:09 corradofiore File Added: message.eml
2011-05-03 09:13 Christian Mack Note Added: 0002420
2011-05-03 11:23 corradofiore Note Added: 0002421
2011-05-03 19:40 corradofiore Note Added: 0002424
2011-05-03 19:40 corradofiore File Added: message2.eml
2011-05-03 19:40 corradofiore File Added: message_2-parsing_error.png
2011-05-17 15:26 ludovic Note Added: 0002488
2011-05-17 15:26 ludovic Status new => resolved
2011-05-17 15:26 ludovic Fixed in Version => 1.3.8
2011-05-17 15:26 ludovic Resolution open => fixed
2011-05-17 15:26 ludovic Assigned To => ludovic