![Thunderbird logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2024-02-12-07-36-53-599028_1.png)
Thunderbird Extensions. How do I set message composer body?
I am currently developing an extension which needs to encrypt the body of the email you are writing. I already did the encryption part, but now I need to display a html in the message composer window. I already know how to extract the text with:
var msgComposer = window.gMsgCompose; var editor = msgComposer.editor; var text = editor.outputToString('text/plain', editor.eNone);
I haven't found a way to set the mail body however...
Alle antwoorden (1)
I suggest you ask for add-on development help in the appropriate forum. This is just a general user support location. Do developers here to help you.