mark all sent_subfolders as special mailboxes. stable 1.4.x tracker 699920
[squirrelmail.git] / plugins / listcommands / setup.php
index 4a9b73cb14e5c5c5c15de9df4596561e42bc3808..b714513230f8372e7ca1dcc17eebd0d7a3d56bd5 100644 (file)
@@ -68,6 +68,8 @@ function plugin_listcommands_menu() {
             $output[] = makeComposeLink($url, $fieldsdescr[$cmd]);
 
             if ($cmd == 'post') {
+                if (!isset($mailbox))
+                    $mailbox = 'INBOX';
                $url .= '&passed_id='.$passed_id.
                        '&mailbox='.urlencode($mailbox).
                        (isset($passed_ent_id)?'&passed_ent_id='.$passed_ent_id:'');