How to open the mail window in Thunderbird from an extension? -


i'm developing extension thunderbird, , want open message, double-click in inbox folder. have message references (messageid / messagekey). how open dialog?

found out how possible, mailutils module provides nice functions. need message header, though, , not message e.g. found via gloda. have convert them first.

so, first import mailutils:

components.utils.import("resource:///modules/mailutils.js");

and use functions, e.g. displaymessages or openmessageinnewwindow, defined here: http://mxr.mozilla.org/comm-central/source/mail/base/modules/mailutils.js


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -