Added use of $imapPort
[squirrelmail.git] / src / download.php
index a4a81a1e975dcbcba593135f553d325173b65ef3..8009c0288222a3a7d2eff64155d89d259e052c02 100644 (file)
@@ -35,7 +35,7 @@
       echo "</TT></TD></TR></TABLE>";
    }
 
-   $imapConnection = sqimap_login($username, $key, $imapServerAddress, 0);
+   $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
    sqimap_mailbox_select($imapConnection, $mailbox);
 
    // $message contains all information about the message