From 99fbb343085750e93ac9b4b147c72816dd963cbb Mon Sep 17 00:00:00 2001 From: ullgren Date: Sun, 10 Feb 2002 01:34:26 +0000 Subject: [PATCH] Fixed bug with Cyrus and SendMDN. SquirrelMail wasn't allowed to set Seen flag twice. Might have somthing to do with the "EXAMINE" call. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2404 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/read_body.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/read_body.php b/src/read_body.php index 0aa2c9ef..b98e98a3 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -162,9 +162,7 @@ function SendMDN ( $recipient , $sender) { global $imapConnection, $mailbox, $username, $attachment_dir, $SERVER_NAME, $version, $attachments, $identity, $data_dir, $passed_id; - $message = sqimap_get_message($imapConnection, $passed_id, $mailbox); - $header = $message->header; - + $header = sqimap_get_message_header($imapConnection, $passed_id, $mailbox); $hashed_attachment_dir = getHashedDir($username, $attachment_dir); // part 1 (RFC2298) -- 2.25.1