<?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>errors opening a message</title> 
  <pubDate>Fri, 10 Apr 2026 02:41:22 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8767</link> 
  <atom:link rel="self" type="application/rss+xml" title="errors opening a message" href="https://bugs.horde.org/ticket/8767/rss" /> 
  <description>errors opening a message</description> 
 
   
   
  <item> 
   <title>I get the following warning when opening the mailbox :
Warn</title> 
   <description>I get the following warning when opening the mailbox :
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/html/horde/imp/mailbox.php on line 734


I get the following error when opening the email :
Warning: reset() [function.reset]: Passed variable is not an array or object in /var/www/html/horde/imp/message.php on line 216
Fatal error: Call to a member function getValue() on a non-object in /var/www/html/horde/imp/message.php on line 242</description> 
   <pubDate>Fri, 11 Dec 2009 08:46:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8767#t57114</link> 
  </item> 
   
  <item> 
   <title>I&#039;ve attach a second email. I&#039;m getting different errors wit</title> 
   <description>I&#039;ve attach a second email. I&#039;m getting different errors with this one :

** IMP messages list  :
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/html/horde/imp/mailbox.php on line 734
** IMP open message :
Warning: reset() [function.reset]: Passed variable is not an array or object in /var/www/html/horde/imp/message.php on line 216
Fatal error: Call to a member function getValue() on a non-object in /var/www/html/horde/imp/message.php on line 242
** DIMP messages list :
PHP Warning:  in_array() [&lt;a href=&#039;function.in-array&#039;&gt;function.in-array&lt;/a&gt;]: Wrong datatype for second argument in /var/www/html/horde/imp/lib/Views/ListMessages.php on line 314, referer: http://127.0.0.1/horde/imp/
PHP Fatal error:  Call to a member function getValue() on a non-object in /var/www/html/horde/imp/lib/Views/ListMessages.php on line 336, referer: http://127.0.0.1/horde/imp/

</description> 
   <pubDate>Fri, 11 Dec 2009 09:35:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8767#t57115</link> 
  </item> 
   
  <item> 
   <title>Works fine here.  You might want to try clearing the imp ima</title> 
   <description>Works fine here.  You might want to try clearing the imp imap cache, if using that.  Or else check to see if your IMAP server is returning bad information.  Otherwise, you will need to debug yourself and provide information on what these variables are actually set to on your installation.</description> 
   <pubDate>Fri, 11 Dec 2009 17:13:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8767#t57123</link> 
  </item> 
   
  <item> 
   <title>&gt; Works fine here.  You might want to try clearing the imp i</title> 
   <description>&gt; Works fine here.  You might want to try clearing the imp imap cache, 
&gt; if using that.  Or else check to see if your IMAP server is returning 
&gt; bad information.  Otherwise, you will need to debug yourself and 
&gt; provide information on what these variables are actually set to on 
&gt; your installation.
cache is disable, and I clear /tmp folder all the time.

using email2.elm, If I reformat the subject header (see below), warning/error is gone.
-- Subject: Re: Nouvelle Offre commerciale &quot;Busines 
++ Subject: Re: Nouvelle Offre commerciale Busines 

</description> 
   <pubDate>Mon, 14 Dec 2009 15:20:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8767#t57144</link> 
  </item> 
   
  <item> 
   <title>&gt; cache is disable, and I clear /tmp folder all the time.
&gt;</title> 
   <description>&gt; cache is disable, and I clear /tmp folder all the time.
&gt;
&gt; using email2.elm, If I reformat the subject header (see below), 
&gt; warning/error is gone.
&gt; -- Subject: Re: Nouvelle Offre commerciale &quot;Busines
&gt; ++ Subject: Re: Nouvelle Offre commerciale Busines

I can&#039;t read the subject of email.elm as it is encoded, but I&#039;m pretty sure it is the same issue.

I&#039;ve attached a screenshot of what it looks like. It seems that IMP is having trouble processing the subject.

I&#039;ve added a print_r($ob) in imp/mailbox.php line 731 (just before the try[flags]) and here is the output for email2.elm :
Array
(
    [uid] =&gt; 3
    [seq] =&gt; 1
    [envelope] =&gt; Array
        (
            [date] =&gt; Tue, 01 Dec 2009 15:54:56 +0100
            [subject] =&gt; Re: Nouvelle Offre commerciale \
            [in-reply-to] =&gt; example.com)) ((
            [message-id] =&gt; Ronan NIL 
            [from] =&gt; Array
                (
                )

            [sender] =&gt; Array
                (
                )

            [reply-to] =&gt; Array
                (
                )

            [to] =&gt; Array
                (
                )

            [cc] =&gt; Array
                (
                )

            [bcc] =&gt; Array
                (
                )

        )

    [mailbox] =&gt; INBOX.Drafts
    [preview] =&gt; 

Re-bonjour,


Merci,
Ronan 
XXX 

toto.tito@example.com a écrit : 

&gt; SOCIéTé XXX, 
&gt; 
&gt; MONSIEUR  BONSOIR, 
&gt; 
&gt;   
&gt; 
&gt; Je reste bien entendu à votre disposition pour reparler de cette proposition dés que nécessaire. 
&gt; 
&gt;   
&gt; 
&gt; Cordialement. 
&gt; 
&gt;   
&gt;
&gt;   
&gt; 
&gt; 
&gt; toto.tito@example.com 
&gt; 
&gt; www.example.com[1]  
&gt; 
&gt; 
&gt; -------------------------
&gt;  
&gt; 
&gt; DE : XXXXX toto OPF/DTO/AEOA
&gt; ENVOYé : lundi 23 novembre 2009 20:08
&gt; À : &#039;r@example.com&#039;
&gt; OBJET : Offre commerciale Busines XXX / Suite de notre dernier rendez vous 
&gt; IMPORTANCE : Haute  
&gt; 
&gt;   
&gt; 
&gt; SOCIéTé XXX, 
&gt; 
&gt; MONSIEUR  BONSOIR, 
&gt; 
&gt;   
&gt; 
&gt; A rediscuter de l&#039;ensemble dès que vous le souhaitez. 
&gt; 
&gt;   
&gt; 
&gt; Cordialement. 
&gt;
&gt;   
&gt; 
&gt; toto XXXXX
&gt;
&gt; toto.tito@example.com 
&gt; 
&gt; www.example.com[2] 
&gt; 
&gt;    
&gt; 
&gt; ********************************* This message and any attachments (the &quot;message&quot;) are confidential and intended solely for the addressees.  ...
    [previewcut] =&gt; 1
)

</description> 
   <pubDate>Mon, 14 Dec 2009 15:38:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8767#t57145</link> 
  </item> 
   
  <item> 
   <title>&gt;             [message-id] =&gt; Ronan NIL

This indicates th</title> 
   <description>&gt;             [message-id] =&gt; Ronan NIL

This indicates that there is an issue either with your IMAP server, or with the way we are parsing the IMAP data.

To further debug this issue, we need details of the IMP -&gt; IMAP/POP communication.

To enable debugging, see instructions contained in imp/config/servers.php (the &#039;debug&#039; config parameter).  

Debugging should not be enabled on a production server,   Attach/post only the portion of the log that directly deals with the problem reported (it may be simplest to clear the log file and then perform the event that causes the error).</description> 
   <pubDate>Mon, 14 Dec 2009 19:12:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8767#t57148</link> 
  </item> 
   
  <item> 
   <title>&gt; To enable debugging, see instructions contained in 
&gt; imp</title> 
   <description>&gt; To enable debugging, see instructions contained in 
&gt; imp/config/servers.php (the &#039;debug&#039; config parameter).

Ah, I wasn&#039;t aware of this info. Is it possible to add a comment about this in imp/docs/INSTALL ?

&gt; Debugging should not be enabled on a production server,   Attach/post 
&gt; only the portion of the log that directly deals with the problem 
&gt; reported (it may be simplest to clear the log file and then perform 
&gt; the event that causes the error).

I&#039;ve attached the imap log when opening message email2.elm
we use courier-imap-4.3/php-5.2.11

I have an old cvs copy (07 oct 2008) of Horde/IMP and I don&#039;t have any issue opening those messages.
</description> 
   <pubDate>Tue, 15 Dec 2009 08:31:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8767#t57157</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #8767: S</title> 
   <description>Changes have been made in Git for this ticket:

Bug #8767: Search for correct quote escape character

http://git.horde.org/diff.php/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php?rt=horde-git&amp;r1=63abbc013833b294650742b7c7b3d089c51fd4af&amp;r2=a2aafe63cc6354096d7ea22a2e25a8e009e68d9f</description> 
   <pubDate>Tue, 15 Dec 2009 09:35:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8767#t57158</link> 
  </item> 
   
  <item> 
   <title>Well that&#039;s embarrassing.  We&#039;ve been searching for &#039;/&#039; as t</title> 
   <description>Well that&#039;s embarrassing.  We&#039;ve been searching for &#039;/&#039; as the escape character instead of &#039;\&#039; for at least a year.  Luckily, most IMAP servers use literal strings instead of quoted strings.  Anyway, this has been fixed.</description> 
   <pubDate>Tue, 15 Dec 2009 09:38:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8767#t57159</link> 
  </item> 
   
  <item> 
   <title>&gt; Well that&#039;s embarrassing.  We&#039;ve been searching for &#039;/&#039; as</title> 
   <description>&gt; Well that&#039;s embarrassing.  We&#039;ve been searching for &#039;/&#039; as the escape 
&gt; character instead of &#039;\&#039; for at least a year.  Luckily, most IMAP 
&gt; servers use literal strings instead of quoted strings.  Anyway, this 
&gt; has been fixed.

works great, thanks.</description> 
   <pubDate>Tue, 15 Dec 2009 10:07:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8767#t57166</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
