Browse Source

* Put the select back in. Something is wrong with UW/mh if removing this
line works good for them.

Tyler Akins 24 years ago
parent
commit
cc7536740e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/delete_message.php

+ 2 - 0
src/delete_message.php

@@ -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);