On Wed, Oct 09, 2002 at 09:23:57AM -0700, Mark Crispin wrote:
> On Wed, 9 Oct 2002 10:09:08 -0500, Trey wrote:
> > I'm trying to get a list of folders from the IMAP server, and when I use
> >     mail_list(acct.mailstream, NULL, acct.mailbox);
> > With acct.mailbox set to: acct.mailbox={192.168.3.43:143/imap/user="user"}*
> > The IMAP command sent to the server is 'tag LIST "" *'.  I want to make
> > this be 'tag LIST "#shared" *'.
> 
> You must either put the {192.168.3.43:143/imap/user="user"} in the reference
> argument, or have acct.mailstream already open on that specification and not
> specify it at all in either the reference or mailbox part.
> 

Cool.  It works the way I want now with:

        mail_list(acct.mailstream, "{192.168.3.43:143/imap/user=\"user\"}", 
"#shared/*");

and (but seemed to be buggy)

        mail_list(acct.mailstream, "{192.168.3.43:143/imap/user=\"user\"}#shared", 
"*");

Thanks,

Trey

Reply via email to