For example, I am using the following code to fetch the mime parsed HTML flie:

let messageService = MailServices.messenger.messageServiceFromURI(uri);
let docshell = Cc["@mozilla.org/docshell;1"].createInstance(Ci.nsIDocShell);
messageService.DisplayMessage(uri, docshell, MailServices.msgWindow,
null, null, {});

But I don't know how to do that.


-- 
         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to