if ($auto_expunge == true) {
$exp_cnt = sqimap_mailbox_expunge($imapConnection, $mailbox, false, '');
$mbxresponse['EXISTS'] = $mbxresponse['EXISTS'] - $exp_cnt;
+ $num_msgs = $mbxresponse['EXISTS'];
}
if ($mbxresponse['EXISTS']>0) {
function get_paginator_link($box, $start_msg, $use, $text) {
global $PHP_SELF;
+ $result = "<A HREF=\"right_main.php?use_mailbox_cache=$use"
+ . "&startMessage=$start_msg&mailbox=$box\" "
+ . "TARGET=\"right\">$text</A>";
+ return ($result);
+/*
if (preg_match('/^(.+)\?.+$/',$PHP_SELF,$regs)) {
$source_url = $regs[1];
} else {
. "&startMessage=$start_msg&mailbox=$box\" "
. "TARGET=\"right\">$text</A>";
return ($result);
+*/
}
/*