搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Thunderbird Extensions. How do I set message composer body?

  • 1 个回答
  • 1 人有此问题
  • 7 次查看
  • 最后回复者为 Matt

more options

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...

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...

所有回复 (1)

more options

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.

Try here https://discourse.mozilla.org/c/thunderbird/addons