From 5682c80142f0c36be32b13574278df09564a7c59 Mon Sep 17 00:00:00 2001 From: stekkel Date: Wed, 4 Sep 2002 13:59:37 +0000 Subject: [PATCH] untested uid_support fix git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3535 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/spamcop/spamcop.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/spamcop/spamcop.php b/plugins/spamcop/spamcop.php index eea99e9b..3171109f 100644 --- a/plugins/spamcop/spamcop.php +++ b/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); -- 2.25.1