Check also http://trac.roundcube.net/trac.cgi/ticket/1484408

I had this occurrance today with roundcube pointing to a Domino Server 6.0.3.

After many hours of backtracking I managed to find a difference in the
behaviour of iil_C_FetchHeader.

When called by show.inc with $uidfetch=true (the fourth parameter), it returns
a mostly empty set of headers:

===[cut here]===================================================

iilBasicHeader Object
        (
            [id] => 1
            [uid] => 1
            [subject] => 
            [from] => 
            [to] => 
            [cc] => 
            [replyto] => 
            [in_reply_to] => 
            [date] => 
            [messageID] => 
            [size] => 14899
            [encoding] => 
            [ctype] => 
            [flags] => 
            [timestamp] => 
            [f] => 
            [seen] => 
            [deleted] => 
            [recent] => 
            [answered] => 
            [junk] => 
            [internaldate] => 12-Jul-2007 10:03:47
            [is_reply] => 
        )

===[cut here]===================================================
        

However when called by the function get_structure, with $uidfetch = false
(standard behaviour), the headers are as expected:


===[cut here]===================================================

iilBasicHeader Object
(
    [id] => 1
    [uid] => 1
    [subject] => [Subject suppressed]
    [from] => [Sender suppressed]
    [to] => [Recipient suppressed]
    [cc] => [Other recipient suppressed]
    [replyto] => 
    [in_reply_to] => [MsgID suppressed]
    [date] => Thu, 12 Jul 2007 12:03:46 +0200
    [messageID] => 
    [size] => 14899
    [encoding] => 
    [ctype] => multipart/related
    [flags] => 
    [timestamp] => 1184227426
    [f] => 
    [seen] => 
    [deleted] => 
    [recent] => 
    [answered] => 
    [junk] => 
    [internaldate] => 12-Jul-2007 10:03:47
    [is_reply] => 
    [bcc] => 
    [reference] => 
)

===[cut here]===================================================


I underline that all other parameters are the same.


I couldn't quite understand the reason for this (I suspect it would take me
even more hours to dig deeper), however just to try out my idea, I added the
following right at the start of iil_C_FetchHeader (program/lib/imap.inc):


===[cut here]===================================================

$uidfetch = '';

===[cut here]===================================================


And voila, now I see all headers perfectly, for any message. But I seriously
doubt it's the way to go.

I would be pleased to have some help. Thanks in advance for your attention.


Cordialità / Best regards / Gxis la
------------------------------------------------------------------------
Manuel Giorgini <[EMAIL PROTECTED]>, Programmatore
INTERLOGICA e-business solutions -  http://www.interlogica.net
Via Fusinato, 27 - IT 30171 Mestre VE - Italia - Unione Europea
Tel +39 041 099 30 00 (6 linee r.a.) - Fax +39 041 504 11 72
------------------------------------------------------------------------



Reply via email to