Browse Source

untested uid_support fix

stekkel 23 years ago
parent
commit
551a5ae870
1 changed files with 3 additions and 0 deletions
  1. 3 0
      plugins/spamcop/spamcop.php

+ 3 - 0
plugins/spamcop/spamcop.php

@@ -10,6 +10,9 @@
        $imapPort, 0);
     sqimap_mailbox_select($imap_stream, $mailbox);
     fputs($imap_stream, 'a010 FETCH ' . $passed_id . ' RFC822' . "\r\n");
+    $sid = 'a010';
+    if ($uid_support) $sid .= ' UID';
+    
     $read = sqimap_read_data($imap_stream, 'a010', true, $response, $message);
     array_shift($read);