<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Multipart-EMail not displayed correctly</title> 
  <pubDate>Fri, 10 Apr 2026 00:23:11 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/13122</link> 
  <atom:link rel="self" type="application/rss+xml" title="Multipart-EMail not displayed correctly" href="https://bugs.horde.org/ticket/13122/rss" /> 
  <description>Multipart-EMail not displayed correctly</description> 
 
   
   
  <item> 
   <title>Displays perfectly fine here.

In the body text I see a sh</title> 
   <description>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.</description> 
   <pubDate>Fri, 18 Apr 2014 06:17:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13122#t83341</link> 
  </item> 
   
  <item> 
   <title>&gt; Displays perfectly fine here.
&gt;
&gt; In the body text I see</title> 
   <description>&gt; Displays perfectly fine here.
&gt;
&gt; In the body text I see a short message in German followed by a quoted 
&gt; 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).

</description> 
   <pubDate>Fri, 18 Apr 2014 12:46:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13122#t83344</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Displays perfectly fine here.
&gt;&gt;
&gt;&gt; In the body text I </title> 
   <description>&gt;&gt; Displays perfectly fine here.
&gt;&gt;
&gt;&gt; In the body text I see a short message in German followed by a quoted
&gt;&gt; message (also in German).  And 1 PDF attachment is displayed.
&gt;
&gt; thanks for the quick reply. attached is a screenshot of the message 
&gt; display on my machine - maybe this is something browser/default 
&gt; 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&#039;m testing on PHP 5.4.26 with libxml 2.9.1)</description> 
   <pubDate>Fri, 18 Apr 2014 16:25:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13122#t83347</link> 
  </item> 
   
  <item> 
   <title>uh, that will be a problem since the server is running on RH</title> 
   <description>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&#039;s why I&#039;m asking. Something charset / unicode detection related maybe?
</description> 
   <pubDate>Fri, 18 Apr 2014 18:40:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13122#t83348</link> 
  </item> 
   
  <item> 
   <title>&gt; here is there any reference you could point me to where I </title> 
   <description>&gt; here is there any reference you could point me to where I could find 
&gt; 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.</description> 
   <pubDate>Mon, 21 Apr 2014 19:45:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13122#t83387</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; here is there any reference you could point me to where I</title> 
   <description>&gt;&gt; here is there any reference you could point me to where I could find
&gt;&gt; more information about this?
&gt;
&gt; Not really.  I just know from experience/hearsay from the list that 
&gt; updating one/other solves this kind of issue almost every time.  PHP 
&gt; 5.3.3 is all sorts of ancient and there have been numerous bug fixes 
&gt; 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.



</description> 
   <pubDate>Thu, 24 Apr 2014 09:45:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13122#t83460</link> 
  </item> 
   
  <item> 
   <title>I have tested this message on a fresh CentOS 6.5 install on </title> 
   <description>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&#039;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.</description> 
   <pubDate>Thu, 08 May 2014 00:49:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13122#t83570</link> 
  </item> 
   
  <item> 
   <title>&gt; I have tested this message on a fresh CentOS 6.5 install o</title> 
   <description>&gt; I have tested this message on a fresh CentOS 6.5 install on a VM, 
&gt; with brand new install of horde-webmail 5.1.6.  The data displays 
&gt; fine.

very interesting! good to know there is no fundamental problem running horde on CentOS.

&gt; It&#039;s possible that it is your IMAP server that is causing the issue - 
&gt; providing garbage data.  If there is any way to connect to a 
&gt; different IMAP server and view that same message on the CentOS 
&gt; 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.


</description> 
   <pubDate>Thu, 08 May 2014 08:19:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13122#t83577</link> 
  </item> 
   
  <item> 
   <title>&gt; anyway, I can report that Open-Xchange running on the same</title> 
   <description>&gt; anyway, I can report that Open-Xchange running on the same machine / 
&gt; displaying the same message from the same IMAP server displays the 
&gt; EMail correctly.

That&#039;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&#039;t.  I&#039;m still guessing that&#039;s the issue in your case, although it must be tied to some local configuration of yours since I&#039;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).</description> 
   <pubDate>Thu, 08 May 2014 19:03:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13122#t83583</link> 
  </item> 
   
  <item> 
   <title>
&gt; That&#039;s probably because we are actually parsing the DOM </title> 
   <description>
&gt; That&#039;s probably because we are actually parsing the DOM structure of 
&gt; the HTML data using the php DOM functions (using underlying libxml2 
&gt; library) and they aren&#039;t.  I&#039;m still guessing that&#039;s the issue in 
&gt; your case, although it must be tied to some local configuration of 
&gt; yours since I&#039;m not seeing it on my test server.  (Granted, your 
&gt; server locale is probably set to DE by default while mine is set to 
&gt; EN so that is a fairly significant difference that might be one of 
&gt; 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?

</description> 
   <pubDate>Thu, 08 May 2014 19:29:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13122#t83584</link> 
  </item> 
   
  <item> 
   <title>&gt; anything else I could check?

Unfortunately at this poin</title> 
   <description>&gt; 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&#039;s a good place to start tracing the code.</description> 
   <pubDate>Thu, 08 May 2014 22:49:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13122#t83585</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
