* This is the code for the left bar. The left bar shows the folders
* available, and has cookie information.
*
* This is the code for the left bar. The left bar shows the folders
* available, and has cookie information.
*
// get mailbox list and cache it
$mailboxes=sqimap_get_mailboxes($imapConnection,false,$show_only_subscribed_folders);
// get mailbox list and cache it
$mailboxes=sqimap_get_mailboxes($imapConnection,false,$show_only_subscribed_folders);
$oErrorHandler->setDelayedErrors(true);
sqgetGlobalVar('auto_create_done',$auto_create_done,SQ_SESSION);
$oErrorHandler->setDelayedErrors(true);
sqgetGlobalVar('auto_create_done',$auto_create_done,SQ_SESSION);
$autocreate = array($sent_folder, $trash_folder, $draft_folder);
$folders_created = false;
foreach( $autocreate as $folder ) {
$autocreate = array($sent_folder, $trash_folder, $draft_folder);
$folders_created = false;
foreach( $autocreate as $folder ) {
/**
* If $show_only_subscribed_folders is true, don't use
* $mailboxes array for checking if mailbox exists.
/**
* If $show_only_subscribed_folders is true, don't use
* $mailboxes array for checking if mailbox exists.