It seems that in order to get the msgs of a folder, I need to call 
nsIMsgFolder::GetMessages. Unfortunately, this method expects an 
nsIMsgWindow as parameter - its signature is
nsISimpleEnumerator getMessages(in nsIMsgWindow aMsgWindow);

Since I'm using Mailnews as a server, I don't have an nsIMsgWindow or 
even anything that resembles it. Also, I don't see why this were necessary.

The checkin note says, this were done in order to get Stop working. 
Aren't there other ways to implement that?

What should I do in the meantime? I tried to pass it nsnull, but it 
crashes then. I'm currently trying to hunt down where.

Nevertheless, IMO, this method shouldn't have anything to do with the 
frontend.

Help appreciated

Ben

Reply via email to