summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
597d8f1)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@35
7612ce4b-ef26-0410-bec9-
ea0150e637f0
* will get expunged, removing all messages marked "Deleted".
*/
* will get expunged, removing all messages marked "Deleted".
*/
$trash_folder = "INBOX.Trash";
$auto_expunge = true;
$trash_folder = "INBOX.Trash";
$auto_expunge = true;
/**
** mailbox_display.php
**
/**
** mailbox_display.php
**
}
/** DELETING FOLDERS **/
}
/** DELETING FOLDERS **/
echo "<FORM ACTION=folders_delete.php METHOD=POST>\n";
echo "<SELECT NAME=mailbox><FONT FACE=\"Arial,Helvetica\">\n";
for ($i = 0; $i < count($str); $i++) {
$thisbox = Chop($str[$i]);
$thisbox = findMailboxName($thisbox);
echo "<FORM ACTION=folders_delete.php METHOD=POST>\n";
echo "<SELECT NAME=mailbox><FONT FACE=\"Arial,Helvetica\">\n";
for ($i = 0; $i < count($str); $i++) {
$thisbox = Chop($str[$i]);
$thisbox = findMailboxName($thisbox);
- $thisbox = getFolderNameMinuxINBOX($thisbox);
-
$use_folder = true;
for ($p = 0; $p < count($special_folders); $p++) {
if ($special_folders[$p] == $long_name_boxes[$i])
$use_folder = true;
for ($p = 0; $p < count($special_folders); $p++) {
if ($special_folders[$p] == $long_name_boxes[$i])
$imapConnection = loginToImapServer($username, $key, $imapServerAddress);
// switch to the mailbox, and get the number of messages in it.
$imapConnection = loginToImapServer($username, $key, $imapServerAddress);
// switch to the mailbox, and get the number of messages in it.
- echo "$mailbox<BR>";
- exit;
selectMailbox($imapConnection, $mailbox, $numMessages);
$folder = getFolderNameMinusINBOX($mailbox);
selectMailbox($imapConnection, $mailbox, $numMessages);
$folder = getFolderNameMinusINBOX($mailbox);
} else {
removeFolder($imapConnection, "user.$username.$folder");
}
} else {
removeFolder($imapConnection, "user.$username.$folder");
}
// Log out this session
fputs($imapConnection, "1 logout");
// Log out this session
fputs($imapConnection, "1 logout");