[EMAIL PROTECTED] (Keno Albrecht) writes: > I'm writing an extension for the mozilla mail client. Therefore, I > want to be notified when a new message arrives and do some stuff with > the new message.
I've been trying to do that as well (not only mail, but also news). It's my first ever Mozilla extension, so I'm struggling a bit! > I tried to add an nsIFolderListener to the inbox, but after doing that > and then accessing the Inbox, mozilla always crashed (don't know > why??). Then, I added the listener to the nsIMsgMailSession, and it > works fine (overwriting the OnItemAdded function). But now the problem > is, that I still don't know what the new message is. Can you explain how you do this? Some sample code for extensions to the mail-news client would be great, as I can't find anything obvious elsewhere... > Hope someone can help me or point me to some useful resources - thanks > a lot in advance, Sorry I can't actually help you at the moment. Paul. -- This signature intentionally left blank _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
