Added use of $imapPort
[squirrelmail.git] / src / move_messages.php
index fb973b347afb8d8a229d1c1555d830591ee76067..56e96e7404a558be3022fa6a08a21b99f843c337 100644 (file)
@@ -37,7 +37,7 @@
       }
    }
 
-   $imapConnection = sqimap_login($username, $key, $imapServerAddress, 0);
+   $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
    sqimap_mailbox_select($imapConnection, $mailbox);
 
    // If the delete button was pressed, the moveButton variable will not be set.