On Nov 5, 2006, at 1:22 PM, Tom Allison wrote:

> How do you get a list of the folders available?

You want #list.  Read RFC 3501 [1] 6.3.8 if the Net::IMAP  
documentation isn't complete.

> And how do you identify the seperator on the server?
> I know that some use '.' and others use '/'

There isn't a separator.  LIST will give you mailbox names.

> It would be nice to be able to interrogate the system before hand.

Look at IMAPCleanse [2] for an example of Net::IMAP usage.

[1] http://www.faqs.org/rfcs/rfc3501.html
[2] http://rubyforge.org/projects/seattlerb

-- 
Eric Hodel - drbrain / segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com