B.Eckstein wrote: > I would like to implement a Javascript-parser vor text/calendar > attachments on emails. As I'm new to XPCom my thought is to hook > into the existing mailparser ang get all content-type text/calendar. > The URIContentListener seems to be the right entrypoint. > > Does anybody have an example in accessing email-attachments in > this way?
�h, there is an *implementation* even exactly for what you want (but in C++, not JS). I don't know, what it actually does, though. <http://www.mozilla.org/mailnews/libmime-content-type-handlers.html> <http://lxr.mozilla.org/mozilla/source/mailnews/mime/cthandlers/calendar/> <http://www.mozilla.org/mailnews/arch/libmime-description.html>
