* Put the select back in. Something is wrong with UW/mh if removing this
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 May 2001 14:56:38 +0000 (14:56 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 May 2001 14:56:38 +0000 (14:56 +0000)
  line works good for them.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1392 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/delete_message.php

index 1f267c6..dd78d2b 100644 (file)
@@ -16,6 +16,8 @@
 
    $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
 
+   sqimap_mailbox_select($imapConnection, $mailbox);
+   
    sqimap_messages_delete($imapConnection, $message, $message, $mailbox);
    if ($auto_expunge)
       sqimap_mailbox_expunge($imapConnection, $mailbox, true);