diff --git a/mail/inc/class.mail_activesync.inc.php b/mail/inc/class.mail_activesync.inc.php index 793883aa1c..48c041d2e2 100644 --- a/mail/inc/class.mail_activesync.inc.php +++ b/mail/inc/class.mail_activesync.inc.php @@ -380,6 +380,7 @@ class mail_activesync implements activesync_plugin_write, activesync_plugin_send $this->_wasteID = $this->mail->getTrashFolder(false); //error_log(__METHOD__.__LINE__.' TrashFolder:'.$this->_wasteID); $this->_sentID = $this->mail->getSentFolder(false); + $this->mail->getOutboxFolder(true); //error_log(__METHOD__.__LINE__.' SentFolder:'.$this->_sentID); //error_log(__METHOD__.__LINE__.' Connection Status for ProfileID:'.self::$profileID.'->'.$this->mail->icServer->_connected); } diff --git a/mail/inc/class.mail_hooks.inc.php b/mail/inc/class.mail_hooks.inc.php index 1d6deaa6b2..a230d1a903 100644 --- a/mail/inc/class.mail_hooks.inc.php +++ b/mail/inc/class.mail_hooks.inc.php @@ -124,10 +124,6 @@ class mail_hooks $mail_bo->closeConnection(); } */ - $availableAutoFolders['none'] = lang('none, create all'); - foreach(mail_bo::$autoFolders as $aname) { - $availableAutoFolders[$aname] = lang($aname); - } $mailConfig = config::read('mail'); } @@ -549,16 +545,6 @@ class mail_hooks 'admin' => False, 'forced' => '0', ),*/ - 'notavailableautofolders' => array( - 'type' => 'multiselect', - 'label' => 'do not auto create folders', - 'help' => 'which folders - in general - should NOT be automatically created, if not existing', - 'name' => 'notavailableautofolders', - 'values' => $availableAutoFolders, - 'xmlrpc' => True, - 'admin' => False, - 'forced' => 'none', - ), 'saveAsOptions' => array( 'type' => 'select', 'label' => 'Save as',