Thomas Bruederli a écrit :
Again, I cannot reproduce this bug. So please would anybody help me who can reproduce it? You have to play around with different config parameters like caching enabled/disabled and - if possible - try to reproduce it with different IMAP servers. Add var_dump($MESSAGE); at line 84 in program/steps/mail/compose.inc to see what we have here.
I've disabled message caching, but the problem is the same. Here's the var_dump's output :
array(5) { ["UID"]=> string(1) "2" ["headers"]=> object(iilBasicHeader)#7 (25) { ["id"]=> string(1) "2" ["uid"]=> string(1) "2" ["subject"]=> string(8) "Re: test" ["from"]=> string(17) "tech@mtgsud.com" ["to"]=> string(15) "tech@mtgsud.com" ["cc"]=> string(0) "" ["replyto"]=> string(0) "" ["in_reply_to"]=> string(42) "09bb468223f2923dad331917edfb578e@localhost" ["date"]=> string(31) "Tue, 11 Sep 2007 22:01:16 +0200" ["messageID"]=> string(44) "782210639bfe5a63993ed231197871b0@localhost" ["size"]=> string(4) "1650" ["encoding"]=> string(0) "" ["ctype"]=> string(21) "multipart/alternative" ["flags"]=> string(4) "Seen" ["timestamp"]=> int(1189533676) ["f"]=> NULL ["seen"]=> bool(true) ["deleted"]=> bool(false) ["recent"]=> bool(false) ["answered"]=> bool(false) ["junk"]=> NULL ["internaldate"]=> string(20) "11-Sep-2007 22:01:18" ["is_reply"]=> NULL ["bcc"]=> string(0) "" ["reference"]=> NULL } ["structure"]=> object(rcube_message_part)#9 (13) { ["mime_id"]=> string(1) "0" ["ctype_primary"]=> string(9) "multipart" ["ctype_secondary"]=> string(11) "alternative" ["mimetype"]=> string(21) "multipart/alternative" ["disposition"]=> string(0) "" ["filename"]=> string(0) "" ["encoding"]=> string(4) "8bit" ["charset"]=> string(0) "" ["size"]=> int(0) ["headers"]=> array(25) { ["id"]=> string(1) "2" ["uid"]=> string(1) "2" ["subject"]=> string(8) "Re: test" ["from"]=> string(17) "tech@mtgsud.com" ["to"]=> string(15) "tech@mtgsud.com" ["cc"]=> string(0) "" ["replyto"]=> string(0) "" ["in_reply_to"]=> string(42) "09bb468223f2923dad331917edfb578e@localhost" ["date"]=> string(31) "Tue, 11 Sep 2007 22:01:16 +0200" ["messageID"]=> string(44) "782210639bfe5a63993ed231197871b0@localhost" ["size"]=> string(4) "1650" ["encoding"]=> string(0) "" ["ctype"]=> string(21) "multipart/alternative" ["flags"]=> string(4) "Seen" ["timestamp"]=> int(1189533676) ["f"]=> NULL ["seen"]=> bool(true) ["deleted"]=> bool(false) ["recent"]=> bool(false) ["answered"]=> bool(false) ["junk"]=> NULL ["internaldate"]=> string(20) "11-Sep-2007 22:01:18" ["is_reply"]=> NULL ["bcc"]=> string(0) "" ["reference"]=> NULL } ["d_parameters"]=> array(0) { } ["ctype_parameters"]=> array(0) { } ["parts"]=> array(2) { [0]=> &object(rcube_message_part)#10 (12) { ["mime_id"]=> string(1) "1" ["ctype_primary"]=> string(4) "text" ["ctype_secondary"]=> string(5) "plain" ["mimetype"]=> string(10) "text/plain" ["disposition"]=> string(0) "" ["filename"]=> string(0) "" ["encoding"]=> string(4) "8bit" ["charset"]=> string(5) "UTF-8" ["size"]=> int(55) ["headers"]=> array(1) { ["content-transfer-encoding"]=> string(4) "8bit" } ["d_parameters"]=> array(0) { } ["ctype_parameters"]=> array(1) { ["charset"]=> string(5) "UTF-8" } } [1]=> &object(rcube_message_part)#11 (12) { ["mime_id"]=> string(1) "2" ["ctype_primary"]=> string(4) "text" ["ctype_secondary"]=> string(4) "html" ["mimetype"]=> string(9) "text/html" ["disposition"]=> string(0) "" ["filename"]=> string(0) "" ["encoding"]=> string(16) "quoted-printable" ["charset"]=> string(5) "UTF-8" ["size"]=> int(197) ["headers"]=> array(1) { ["content-transfer-encoding"]=> string(16) "quoted-printable" } ["d_parameters"]=> array(0) { } ["ctype_parameters"]=> array(1) { ["charset"]=> string(5) "UTF-8" } } } } ["subject"]=> string(8) "Re: test" ["parts"]=> array(2) { [1]=> &object(rcube_message_part)#10 (12) { ["mime_id"]=> string(1) "1" ["ctype_primary"]=> string(4) "text" ["ctype_secondary"]=> string(5) "plain" ["mimetype"]=> string(10) "text/plain" ["disposition"]=> string(0) "" ["filename"]=> string(0) "" ["encoding"]=> string(4) "8bit" ["charset"]=> string(5) "UTF-8" ["size"]=> int(55) ["headers"]=> array(1) { ["content-transfer-encoding"]=> string(4) "8bit" } ["d_parameters"]=> array(0) { } ["ctype_parameters"]=> array(1) { ["charset"]=> string(5) "UTF-8" } } [2]=> &object(rcube_message_part)#11 (12) { ["mime_id"]=> string(1) "2" ["ctype_primary"]=> string(4) "text" ["ctype_secondary"]=> string(4) "html" ["mimetype"]=> string(9) "text/html" ["disposition"]=> string(0) "" ["filename"]=> string(0) "" ["encoding"]=> string(16) "quoted-printable" ["charset"]=> string(5) "UTF-8" ["size"]=> int(197) ["headers"]=> array(1) { ["content-transfer-encoding"]=> string(16) "quoted-printable" } ["d_parameters"]=> array(0) { } ["ctype_parameters"]=> array(1) { ["charset"]=> string(5) "UTF-8" } } } }