[imp] folders: second level folders on the same level as INBOX
Atif Ghaffar
aghaffar@developer.ch
Thu, 19 Apr 2001 19:49:45 +0200
here is my configuration. I set namespace, but I still see Drafts as
subfolders on INBOX in folders.php (tree).
They are displayed as Drafts, Sent etc but are indented one level after
INBOX.
__ from imp/config/servers.php __
$servers = array();
global $HTTP_SERVER_VARS;
$servers['imap'] = array(
'name' => 'IMAP Server',
'server' => '172.23.17.152',
'protocol' => 'imap',
'port' => 143,
'folders' => 'INBOX.',
'namespace' => 'INBOX.',
'maildomain' => preg_replace("/(\w+)\.([\w\-]+)\.(\w+)\:*.*/",
"\\2.\\3", $HTTP_SERVER_VARS['SERVER_NAME']),
'preferred' => '');
Thanks
Chuck Hagenbuch wrote:
> =
> Quoting Atif Ghaffar <aghaffar@developer.ch>:
> =
> > Is it possible to have second level folders displayed at the same lev=
el
> > as INBOX?
> =
> That's what $server['namespace'] is for. Set it to whatever level of hi=
erarchy
> you want hidden ('INBOX.', etc.).
> =
> -chuck
--
Atif Ghaffar
Internet Development Manager
4unet AG/SA/Ltd.
-------------------------.
+41 21 351 53 60 ¦ voice
+41 78 787 51 45 ¦ mobile
+41 86 0796598972¦ fax
http://www.4unet.net ¦ www
http://atif.developer.ch ¦ homepage
atif.ghaffar@4unet.net ¦ email