Bläddra i källkod

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 år sedan
förälder
incheckning
909ef07ef1
1 ändrade filer med 1 tillägg och 3 borttagningar
  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)