Skip to content Skip to sidebar Skip to footer

Get Selected Message Data In Thunderbird Extension

I need to get some e-mail message data in my Thunderbird extension. I found this example on MDN (https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIMsgMessageSer

Solution 1:

This documentation looks fairly outdated. I would suggest:

  • using gFolderDisplay.selectedMessage (try typing top.opener.gFolderDisplay.selectedMessage in the Error Console),
  • reading some recent code that uses Services and MailServices so as to simplify your code.

That being said, I don't know what you're trying to achieve but:

Good luck with that, once you get a working sample, please add it to the MDN wiki!

Cheers,

jonathan


Post a Comment for "Get Selected Message Data In Thunderbird Extension"