Version 1.0pre2 -- DEVELOPMENT
------------------------------
+- Fixed bug that didn't display login failure message
+- Fixed minor bug in sqimap_mailbox_list
+- Added sqimap_capability function to check capabilities of server.
+- Rewrote sqimap_get_delim to use NAMESPACE capability (if available) to get delimiter.
- Added Catalan translation of Help documents by Josep Sanz <jsanz@fa.upc.es>
+- Added Taiwan translation by "ching" <ching@kiwa.com.tw>
Version 1.0pre1 -- December 14, 2000
------------------------------------
$languages["ca"]["CHARSET"] = "iso-8859-1";
$languages["sr"]["NAME"] = "Serbian";
$languages["sr"]["CHARSET"] = "iso-8859-2";
+ $languages["tw"]["NAME"] = "Taiwan";
+ $languages["tw"]["CHARSET"] = "big5";
// Decodes a string to the internal encoding from the given charset
function charset_decode ($charset, $string) {
function sqimap_login ($username, $password, $imap_server_address, $imap_port, $hide) {
global $color, $squirrelmail_language, $HTTP_ACCEPT_LANGUAGE, $onetimepad;
- $imap_stream = fsockopen ($imap_server_address, $imap_port, &$error_number, &$error_string);
+ $imap_stream = fsockopen ($imap_server_address, $imap_port, &$error_number, &$error_string, 0);
$server_info = fgets ($imap_stream, 1024);
// Decrypt the password
global $message_highlight_list;
global $auto_expunge;
- sqimap_mailbox_expunge($imapConnection, $mailbox, false);
+ if ($auto_expunge == true) sqimap_mailbox_expunge($imapConnection, $mailbox, false);
sqimap_mailbox_select($imapConnection, $mailbox);
if (!$use_cache) {