projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewrote imap functions
[squirrelmail.git]
/
src
/
options.php
diff --git
a/src/options.php
b/src/options.php
index 6adb81ec14aeb1b9d097758471a26968ff362e38..600ab71e9fcd11b2f665c9773f24d994da259506 100644
(file)
--- a/
src/options.php
+++ b/
src/options.php
@@
-1,6
+1,5
@@
<?
include("../config/config.php");
<?
include("../config/config.php");
- include("../functions/mailbox.php");
include("../functions/strings.php");
include("../functions/page_header.php");
include("../functions/display_messages.php");
include("../functions/strings.php");
include("../functions/page_header.php");
include("../functions/display_messages.php");
@@
-10,8
+9,8
@@
include("../src/load_prefs.php");
include("../src/load_prefs.php");
- $imapConnection =
loginToImapServer
($username, $key, $imapServerAddress);
-
getFolderL
ist($imapConnection, $boxes);
+ $imapConnection =
sqimap_login
($username, $key, $imapServerAddress);
+
$boxes = sqimap_mailbox_l
ist($imapConnection, $boxes);
fputs($imapConnection, "1 logout\n");
echo "<HTML><BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n";
fputs($imapConnection, "1 logout\n");
echo "<HTML><BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n";