diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/newmail_notifier/newmail_notifier.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/newmail_notifier/newmail_notifier.php b/plugins/newmail_notifier/newmail_notifier.php index bd61e3692..20ffac8ce 100644 --- a/plugins/newmail_notifier/newmail_notifier.php +++ b/plugins/newmail_notifier/newmail_notifier.php @@ -140,7 +140,9 @@ class newmail_notifier extends rcube_plugin // Get folders to skip checking for if (empty($this->exceptions)) { $this->delimiter = $this->rc->storage->get_hierarchy_delimiter(); - foreach (array('drafts_mbox', 'sent_mbox') as $folder) { + + $exceptions = array('drafts_mbox', 'sent_mbox', 'trash_mbox'); + foreach ($exceptions as $folder) { $folder = $this->rc->config->get($folder); if (strlen($folder) && $folder != 'INBOX') { $this->exceptions[] = $folder; |
