The Deep End

go to! email!

Thursday, July 14, 2005

How do you download messages from an IMAP folder??

How do you download messages from a folder on an IMAP server?? Specifically, with an XPCOM component of some kind...

using folder.DownloadMessagesForOffline(msgHdrArray,msgWindow); doesn't work.

nsIImapService has a downloadMessagesForOffline(),but the parameters are really confusing-- a "char *" of messageIds?? Does that mean that I'm supposed to do something like var messageIds = id1 + "," +id2?? How would I even get a messageId if none of the messages have been downloaded yet (the getMessages function returns an empty nsISimpleEnumerator)

What the heck?


Post a Comment

<< Home