From e4867ea740cd0d03acb65fdc7a93f7764cc711b2 Mon Sep 17 00:00:00 2001 From: thomascube Date: Tue, 6 Nov 2007 18:24:25 +0000 Subject: Fix bugs #1484555, #1484646 and #1484639 --- program/lib/imap.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program/lib') diff --git a/program/lib/imap.inc b/program/lib/imap.inc index 05b1c00e1..264c3af50 100644 --- a/program/lib/imap.inc +++ b/program/lib/imap.inc @@ -1240,7 +1240,7 @@ function iil_C_FetchHeaders(&$conn, $mailbox, $message_set, $uidfetch=false){ /* FETCH date,from,subject headers */ $key="fh".($c++); $prefix=$uidfetch?" UID":""; - $request=$key.$prefix." FETCH $message_set (BODY.PEEK[HEADER.FIELDS (DATE FROM TO SUBJECT REPLY-TO IN-REPLY-TO CC BCC CONTENT-TRANSFER-ENCODING CONTENT-TYPE MESSAGE-ID REFERENCE)])\r\n"; + $request=$key.$prefix." FETCH $message_set (BODY.PEEK[HEADER.FIELDS (DATE FROM TO SUBJECT REPLY-TO IN-REPLY-TO CC BCC CONTENT-TRANSFER-ENCODING CONTENT-TYPE MESSAGE-ID REFERENCES)])\r\n"; if (!fputs($fp, $request)) return false; do{ @@ -1295,7 +1295,7 @@ function iil_C_FetchHeaders(&$conn, $mailbox, $message_set, $uidfetch=false){ $result[$id]->encoding = str_replace("\n", " ", $headers["content-transfer-encoding"]); $result[$id]->ctype = str_replace("\n", " ", $headers["content-type"]); $result[$id]->in_reply_to = ereg_replace("[\n<>]",'', $headers['in-reply-to']); - $result[$id]->reference = $headers["reference"]; + $result[$id]->references = $headers["references"]; list($result[$id]->ctype, $ctype_add) = explode(";", $headers["content-type"]); -- cgit v1.2.3