I have an extension that needs to associate an email address with a
particular message. For messages not in the Global Inbox, I can get this
easily by getting the server using the folder URI of the message,
getting the identity for the server, and then querying the prefs for the
particular identity.
mail.identity.idX.useremail
This doesn't work so neatly for Local Folders, because when I query the
server it always returns Local Folders as opposed the actual server the
message belongs to.
So my question is Is there a reliable way to trace an email address
associated with the Global Inbox, in particular from a message. Granted,
there can be multiple accounts set-up there meaning multiple email
addresses, so even returning one of those would be acceptable.
- Brian
dev-apps-thunderbird mailing list
dev-apps-thunderbird (AT) lists (DOT) mozilla.org