On Mon, 24 Feb 2003, tomas pospisek wrote: > Since this request hasn't generated a mailstorm, here's a follow up: > is there a way to access/find/catch the "Hello" String somewhere in c-client: > "OK Courier-IMAP ready. ..."
The only thing that such a test would be good for would be to determine if the server does not comply with IMAP. Courier is very non-compliant, and you should always use the "/loser" flag in the host specification of the mailbox name with a Courier server to avoid problems. > I could filter on that string and check the currently used driver in order > to determine whether or not the store I'm accessing has the ability to > create submailboxes _and_ messages at the same time inside mailboxes. > > Comments? Am I heading in a completely wrong direction? Yes, you are heading in the wrong direction. Use the mail_list() function which returns the mailbox attributes including noselect and noinferiors state. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate.
