Browse Source

Fixed bug with Cyrus and SendMDN. SquirrelMail wasn't allowed to set Seen flag twice.
Might have somthing to do with the "EXAMINE" call.

Pontus Ullgren 23 years ago
parent
commit
909ef07ef1
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/read_body.php

+ 1 - 3
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)