> You can check to see what Netscape (and any
> other IMAP Client) will use as a deliminator by logging into your IMAP
> server and sending the NAMESPACE command.

NAMESPACE is optional; not all servers support it. The portable method
for discovering the hierarchy delimiter is described in section 6.3.8
of RFC2060:

      An empty ("" string) mailbox name argument is a special request to
      return the hierarchy delimiter and the root name of the name given
      in the reference.  The value returned as the root MAY be null if
      the reference is non-rooted or is null.  In all cases, the
      hierarchy delimiter is returned.  This permits a client to get the
      hierarchy delimiter even when no mailboxes by that name currently
      exist.

E.g.:

        0 LIST "" ""
        * LIST (\NoSelect) "/" ""
        0 OK List completed

Note that the RFC does allow the delimiter to change as you move through
the namespace, although I don't think any servers actually do that, and I
doubt any of the deployed clients would deal with it properly.

--lyndon



Reply via email to