How do I go about getting a connection to a mail server through XPConnect? What I'm trying to do is get a list of folders from a mail server. Right now I can do this but only if I have the mailnews application open in the background. I don't want to have to open it to retrieve this information. Any help is appreciated, Dan danp at oeone.com