From 47c9ccbf6f2ffc344a5e85eefe4a9b9ba2c1b1ba Mon Sep 17 00:00:00 2001 From: thomascube Date: Thu, 25 Sep 2008 14:09:56 +0000 Subject: Also allow appending messages to inbox (if not listed) --- program/include/rcube_imap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 0853ab43e..ba76b19c1 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -1493,7 +1493,7 @@ class rcube_imap $mailbox = $this->_mod_mailbox($mbox_name); // make sure mailbox exists - if (in_array($mailbox, $this->_list_mailboxes())) + if (($mailbox == 'INBOX') || in_array($mailbox, $this->_list_mailboxes())) $saved = iil_C_Append($this->conn, $mailbox, $message); if ($saved) -- cgit v1.2.3