untested uid_support fix
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 4 Sep 2002 13:59:37 +0000 (13:59 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 4 Sep 2002 13:59:37 +0000 (13:59 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3535 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/spamcop/spamcop.php

index eea99e9..3171109 100644 (file)
@@ -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);