**/
if(!isset($logged_in)) {
- echo _("You must ");
- echo "<a href=\"login.php\">";
- echo _("login");
- echo "</a>";
- echo _(" first.");
+ echo _("You must login first.");
exit;
}
if(!isset($username) || !isset($key)) {
/////////////////////////////////////////////////////////////////////////////////
// open a connection on the imap port (143)
- $imapConnection = sqimap_login($username, $key, $imapServerAddress, 0);
+ $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
/** If it was a successful login, lets load their preferences **/
include("../src/load_prefs.php");
echo "<BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n";
- echo "<FONT FACE=\"Arial,Helvetica\">";
// If the page has been loaded without a specific mailbox,
// just show a page of general info.