##red|//As mentioned in ther {{servers.php}} file, the Horde Project does not officialy support this parameter. Use at your own risk.//##
##red|This documentation is also valid for [http://www.horde.org/mimp/ MIMP 1.0].##
+++ Why use this parameter?
+++ Why is IMAP_Client needed at all? Or, why don't you guys just use the c-client library to get this information?
Simple. The php imap_*() functions don't provide a way for us to get this information. //Trust us//, we would gladly use those functions if they existed.
+++ What is the format of the 'namespace' parameter?
Please see the documentation for the {{namespace}} function in {{imp/lib/IMAP/Client.php}}. Or you can try going to our [http://dev.horde.org/api/imp/IMP/IMP_IMAPClient.html#methodnamespace API Documentation]. (No guarantees this link will remain correct).
+++ What does an example 'imap_server' entry in {{servers.php}} look like for IMP?
Thanks for asking. It looks like the following (this is an example of a dovecot-1.0 IMAP server):
'imap_server' => array(
'children' => true,
'namespace' => array(
'' => array(
'name' => '',
'delimiter' => '.',
'type' => 'personal',
'hidden' => false
),
'#foo.' => array(
'name' => '#foo.',
'delimiter' => '.',
'type' => 'shared',
'hidden' => false
)
),
'search_charset' => true
)
Obviously, //don't copy this code directly into servers.php and expect it to work!// This is merely an example. Your IMAP server configuration is almost certainly different. Note: MIMP does not require the 'search_charset' value.