Fixed bug with Cyrus and SendMDN. SquirrelMail wasn't allowed to set Seen flag twice.
authorullgren <ullgren@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 10 Feb 2002 01:34:26 +0000 (01:34 +0000)
committerullgren <ullgren@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 10 Feb 2002 01:34:26 +0000 (01:34 +0000)
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

index 0aa2c9ef5b46366ec484ab9e161a3f671532bef6..b98e98a36d943e366baeb7e565eecb0057fbf192 100644 (file)
@@ -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)