+
+
- $imapConnection = sqimap_login ($username, $key, $imapServerAddress, 0);
+
+
+
+\n";
+ echo " | \n";
+ if ($success == "subscribe") {
+ echo "" . _("Subscribed successfully!") . " ";
+ } else if ($success == "unsubscribe") {
+ echo "" . _("Unsubscribed successfully!") . " ";
+ } else if ($success == "delete") {
+ echo "" . _("Deleted folder successfully!") . " ";
+ } else if ($success == "create") {
+ echo "" . _("Created folder successfully!") . " ";
+ } else if ($success == "rename") {
+ echo "" . _("Renamed successfully!") . " ";
+ }
+
+ echo " " . _("refresh folder list") . "";
+ echo " | \n";
+ echo " \n";
+ }
+ $imapConnection = sqimap_login ($username, $key, $imapServerAddress, $imapPort, 0);
$boxes = sqimap_mailbox_list($imapConnection);
/** DELETING FOLDERS **/
- echo "\n";
- echo "";
+ echo "\n";
+
+ /** UNSUBSCRIBE FOLDERS **/
+ echo " \n";
+ sqimap_logout($imap_stream);
+ if ($box && $box2) {
+ echo " | \n";
+ } else {
+ echo _("No folders were found to subscribe to!") . " |