The Deep End

go to! email!

Tuesday, May 31, 2005

Thunderbird Extensions Documentation: Going from Message Key to Message Uri

A lot of functions that I've come across in Mozilla require something called a "message uri"-- like the nsIMessenger component's getMessageServiceFromUri. Since most of my other posts deal with something else called a "message key," here's how to convert between them:fdr.generateMessageURI(msgKey);

So you could write something like,
var fdr = hdr.folder;
. I think. If not, you may have to Get To The Folder From An Account or Local Folders (see post).


Post a Comment

<< Home