Added use of $imapPort
[squirrelmail.git] / src / read_body.php
index 6cafd3feed0b756764045e8fe282b56378ffb7e6..4c9f5c312cb984f7c625c77095b55b592aa2361e 100644 (file)
@@ -14,7 +14,7 @@
 
    include("../src/load_prefs.php");
 
-   $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