summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-09-25 14:09:56 +0000
committerthomascube <thomas@roundcube.net>2008-09-25 14:09:56 +0000
commit47c9ccbf6f2ffc344a5e85eefe4a9b9ba2c1b1ba (patch)
treee978acc16280418eda9a935c9bf42be251ce2d3b /program
parentbb8781c6d756c76c65e3cdce4f53bf9cca2f9193 (diff)
Also allow appending messages to inbox (if not listed)
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
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)