diff --git a/admin/inc/class.admin_mail.inc.php b/admin/inc/class.admin_mail.inc.php index 6aee26626a..0ddb756cc6 100644 --- a/admin/inc/class.admin_mail.inc.php +++ b/admin/inc/class.admin_mail.inc.php @@ -385,7 +385,8 @@ class admin_mail //_debug_array($content); $sel_options['acc_folder_sent'] = $sel_options['acc_folder_trash'] = $sel_options['acc_folder_draft'] = $sel_options['acc_folder_template'] = - $sel_options['acc_folder_junk'] = $sel_options['acc_folder_archive'] = self::mailboxes($imap, $content); + $sel_options['acc_folder_junk'] = $sel_options['acc_folder_archive'] = + $sel_options['acc_folder_ham'] = self::mailboxes($imap, $content); } catch(Exception $e) { $content['msg'] = $e->getMessage(); @@ -430,6 +431,7 @@ class admin_mail 'acc_folder_draft' => array('\\drafts', 'drafts'), 'acc_folder_template' => array('', 'templates'), 'acc_folder_junk' => array('\\junk', 'junk', 'spam'), + 'acc_folder_ham' => array('', 'ham'), 'acc_folder_archive' => array('', 'archive'), ) as $name => $common_names) { @@ -1174,7 +1176,8 @@ class admin_mail try { $sel_options['acc_folder_sent'] = $sel_options['acc_folder_trash'] = $sel_options['acc_folder_draft'] = $sel_options['acc_folder_template'] = - $sel_options['acc_folder_junk'] = $sel_options['acc_folder_archive'] = $sel_options['notify_folders'] = + $sel_options['acc_folder_junk'] = $sel_options['acc_folder_archive'] = + $sel_options['notify_folders'] = $sel_options['acc_folder_ham'] = self::mailboxes(self::imap_client ($content)); } catch(Exception $e) { diff --git a/admin/templates/default/mailaccount.xet b/admin/templates/default/mailaccount.xet index 0d53e1b514..6e13291232 100644 --- a/admin/templates/default/mailaccount.xet +++ b/admin/templates/default/mailaccount.xet @@ -147,6 +147,10 @@ + + + + @@ -237,9 +241,9 @@ - - - + + + diff --git a/admin/templates/default/mailwizard.folder.xet b/admin/templates/default/mailwizard.folder.xet index 38b78bb27a..574589944c 100644 --- a/admin/templates/default/mailwizard.folder.xet +++ b/admin/templates/default/mailwizard.folder.xet @@ -43,6 +43,18 @@ + + + + + + + + + + + +