code in all scripts that get $mailbox from GET or POST.
don't check imap_server_type, because interface can be used with different
type setting.
display error message instead of silently overriding $mailbox. (#1557078)
page. Allows rename and delete operations with subfolders.
don't treat INBOX.Trash as special on Courier. Trash folder can have subfolders
in courier. Only XMAGICTRASH extension can cause errors when trash folder is
deleted. Courier does not document commands that allow to detect folder that
is used as magic trash.
* implementing imap status cache in order to reduce
the amount of status calls generated from the newmail and filter plugin.
* enable the cumulative message account in left_main.php again
Patches reviewed by me. I fixed a few small things in newmail and I added RECENT status
calls in imap_mailbox.php in order to make the "only check recent mail"
option work.
the variables by reference to the call. This makes mbxs_tree an undefined
and unusued variable and might cause errors in php 4.4+ (especially with
objects).
Recommended by RFC 2683 sect 3.2.2, allows a user to show all mailboxes regardless
of subscription. Thanks Simon Matter for the idea.
btw when will the "oldway" in left_main disappear?
Also remove a few more globals that were unused
Remove a few newlines at the end of files
Hopefully this will help shrink the memory footprint of SM just slightly
global variable $boxesnew was being corrupted by another function (I don't really see why its even global at this point, its also stored in the Session). Changed the name of the variable used in the offending function. The symptoms were that the folder list boxes would not be populated, errors when emptying the trash, and errors in the Folders Options.
Added paginator support for asearch
Added next/prev links in read_body to walk through search results
Added individual sort settings / mailbox
Added what I forgot to mention
exists with in_array (which returns just that boolean), and fix the
left over call to array_search to also check for NULL return.
This should fix the problems that Fredrik, me and other PHP 4.1 users
had with Marc's recent changes.
From PHP docs:
"Note: Prior to PHP 4.2.0, array_search() returns NULL on failure instead of FALSE."