Added use of $imapPort
[squirrelmail.git] / src / left_main.php
index 281b3fffb74e4a85f4fe2bfa1254b09048e34fa2..a6702f23d4ca2082d4a057ac27f067bb647102bc 100644 (file)
@@ -71,7 +71,7 @@
    }
 
    // open a connection on the imap port (143)
-   $imapConnection = sqimap_login($username, $key, $imapServerAddress, 10); // the 10 is to hide the output
+   $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 10); // the 10 is to hide the output
 
    /** If it was a successful login, lets load their preferences **/
    include("../src/load_prefs.php");