6.0.0-beta1
7/6/25

[#13122] Multipart-EMail not displayed correctly
Summary Multipart-EMail not displayed correctly
Queue IMP
Queue Version 6.1.7
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester guenter.bartsch (at) sl-rasch (dot) de
Created 04/17/2014 (4098 days ago)
Due
Updated 12/30/2014 (3841 days ago)
Assigned 04/18/2014 (4097 days ago)
Resolved 12/30/2014 (3841 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/30/2014 06:30:39 PM Michael Slusarz State ⇒ Not A Bug
 
07/09/2014 06:16:01 AM Michael Slusarz State ⇒ Stalled
 
05/08/2014 10:49:58 PM Michael Slusarz Comment #12 Reply to this comment
anything else I could check?
Unfortunately at this point, you need to trace the code to find 
exactly where the issue is.  Rendering of an HTML part in IMP occurs 
in the IMP_Mime_Viewer_Html class, so that's a good place to start 
tracing the code.
05/08/2014 07:29:38 PM guenter (dot) bartsch (at) sl-rasch (dot) de Comment #11 Reply to this comment
That's probably because we are actually parsing the DOM structure of 
the HTML data using the php DOM functions (using underlying libxml2 
library) and they aren't.  I'm still guessing that's the issue in 
your case, although it must be tied to some local configuration of 
yours since I'm not seeing it on my test server.  (Granted, your 
server locale is probably set to DE by default while mine is set to 
EN so that is a fairly significant difference that might be one of 
the issues).
nope:

[root@mail ~]# locale
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=en_GB.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=

anything else I could check?


05/08/2014 07:03:34 PM Michael Slusarz Comment #10 Reply to this comment
anyway, I can report that Open-Xchange running on the same machine / 
displaying the same message from the same IMAP server displays the 
EMail correctly.
That's probably because we are actually parsing the DOM structure of 
the HTML data using the php DOM functions (using underlying libxml2 
library) and they aren't.  I'm still guessing that's the issue in your 
case, although it must be tied to some local configuration of yours 
since I'm not seeing it on my test server.  (Granted, your server 
locale is probably set to DE by default while mine is set to EN so 
that is a fairly significant difference that might be one of the 
issues).
05/08/2014 08:19:42 AM guenter (dot) bartsch (at) sl-rasch (dot) de Comment #9 Reply to this comment
I have tested this message on a fresh CentOS 6.5 install on a VM, 
with brand new install of horde-webmail 5.1.6.  The data displays 
fine.
very interesting! good to know there is no fundamental problem running 
horde on CentOS.
It's possible that it is your IMAP server that is causing the issue 
- providing garbage data.  If there is any way to connect to a 
different IMAP server and view that same message on the CentOS 
installation, that would be helpful.
cannot promise anything here - it will take time to set up a separate 
IMAP server and client is not sure they want to pursue the horde 
evaluation further.

anyway, I can report that Open-Xchange running on the same machine / 
displaying the same message from the same IMAP server displays the 
EMail correctly.



05/08/2014 12:49:36 AM Michael Slusarz Comment #8 Reply to this comment
I have tested this message on a fresh CentOS 6.5 install on a VM, with 
brand new install of horde-webmail 5.1.6.  The data displays fine.

It's possible that it is your IMAP server that is causing the issue - 
providing garbage data.  If there is any way to connect to a different 
IMAP server and view that same message on the CentOS installation, 
that would be helpful.
04/24/2014 09:45:55 AM guenter (dot) bartsch (at) sl-rasch (dot) de Comment #7 Reply to this comment
here is there any reference you could point me to where I could find
more information about this?
Not really.  I just know from experience/hearsay from the list that 
updating one/other solves this kind of issue almost every time.  PHP 
5.3.3 is all sorts of ancient and there have been numerous bug fixes 
since then that have directly affected Horde functionality.
I think typically RHEL will prefer backporting fixes instead of 
updating to new versions. it will be hard to push for a fix unless we 
know specifically what the problem could be.




04/21/2014 07:45:05 PM Michael Slusarz Comment #6 Reply to this comment
here is there any reference you could point me to where I could find 
more information about this?
Not really.  I just know from experience/hearsay from the list that 
updating one/other solves this kind of issue almost every time.  PHP 
5.3.3 is all sorts of ancient and there have been numerous bug fixes 
since then that have directly affected Horde functionality.
04/18/2014 06:40:31 PM guenter (dot) bartsch (at) sl-rasch (dot) de Comment #5 Reply to this comment
uh, that will be a problem since the server is running on RHEL/CentOS 
so the version of the system packages is pretty fixed. we have

php-5.3.3
libxml2-2.7.6

here is there any reference you could point me to where I could find 
more information about this? I could then look into building our own 
php/libxml packages or seek other repositories that have never, but 
unofficial versions. it would make things easier if I knew what fix 
exactly I am looking for, that's why I'm asking. Something charset / 
unicode detection related maybe?

04/18/2014 04:25:58 PM Michael Slusarz Comment #4 Reply to this comment
Displays perfectly fine here.

In the body text I see a short message in German followed by a quoted
message (also in German).  And 1 PDF attachment is displayed.
thanks for the quick reply. attached is a screenshot of the message 
display on my machine - maybe this is something browser/default 
charset related?
IIRC, this is most likely due to an old version of PHP, and old 
version of libxml, or both.  Try upgrading one/both.  (I'm testing on 
PHP 5.4.26 with libxml 2.9.1)
04/18/2014 12:46:29 PM guenter (dot) bartsch (at) sl-rasch (dot) de Comment #3
New Attachment: horde_email_enc.jpg Download
Reply to this comment
Displays perfectly fine here.

In the body text I see a short message in German followed by a 
quoted message (also in German).  And 1 PDF attachment is displayed.
thanks for the quick reply. attached is a screenshot of the message 
display on my machine - maybe this is something browser/default 
charset related? but if so, is this a client or server setting? 
behavior on our side looks pretty consistent across various browsers 
and machines (windows, linux, firefox, chrome).


04/18/2014 06:17:21 AM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
Displays perfectly fine here.

In the body text I see a short message in German followed by a quoted 
message (also in German).  And 1 PDF attachment is displayed.
04/18/2014 06:11:16 AM Michael Slusarz Deleted Original Message
 
04/17/2014 10:30:29 AM guenter (dot) bartsch (at) sl-rasch (dot) de Comment #1 (Private)
State ⇒ Unconfirmed
New Attachment: 3.
Patch ⇒ No
Milestone ⇒
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Multipart-EMail not displayed correctly
Queue ⇒ IMP
[Hidden]

Saved Queries