hello,

i'm working on a thunderbird extension,
which will classify email messages from Inbox folder.

current state:
I can iterate through all messages in folder and read it's headers.
But when it comes to read message body - I'm confused.

Does anybody know how to do it? I just can't get the idea...
I think I should use nsIMsgDBView, but I'm not sure how to do it.
I don't want to display messages on the screen, I just want to pass message body text as an argument to the js function.

Second thing is that when I read, for example, message subject,
it's plain string with MIME encoding.
How can I get rid of it and get parsed string with subject, just like it is displayed in message view?

Any ideas?
Please help poor newbie :D

Greetz,
    -p
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to