Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
909ef07ef1
1 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  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,
     global $imapConnection, $mailbox, $username, $attachment_dir, $SERVER_NAME,
            $version, $attachments, $identity, $data_dir, $passed_id;
            $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);
     $hashed_attachment_dir = getHashedDir($username, $attachment_dir);
 
 
     // part 1 (RFC2298)
     // part 1 (RFC2298)