I'm building a Thunderbird extension and would like to add my own header to all outgoing email (e.g. <myext-version: 1.0> ). Any idea how to do this? I know it's possible since this is done in the OpenPGP Enigmail extension. Thanks!
标签:
thunderbird
相关问题
- How to write a Thunderbird extension (webextension
- how to move messages from one Gmail account to ano
- Adding several attachments to thunderbird (from co
- How do you insert email headers with a Thunderbird
- read thunderbird address mab files content
相关文章
- How do you insert email headers with a Thunderbird
- read thunderbird address mab files content
- Can we use roundcube, thunderbird or any webmail i
- Stop Email From Sending
- 采用visual basic从窗口发送Thunderbird电子邮件带有附件(Sending thu
- 使用Java用户电子邮件地址的Acessing日历(Acessing calendar of use
- How to get todos from Thunderbird/Lightning calend
- Acessing calendar of user email address using Java
I don't know the answer but just some thoughts...
I think thunderbird extensions are usually just xul and js. From the enigmail site:
Looking at the Enigmail source code, this might be the relevant section (written in c++)
So you might need to either translate what they've done into js(!) or keep looking for a different example.
Here's another link that might be helpful
Here is the code from one extension I'm working on:
Put this inside a .js file that is loaded by the compose window (for example by overlaying
chrome://messenger/content/messengercompose/messengercompose.xul)
.The check in SendObserver.observe was necessary in my case because I wanted to do a user interaction, but you could probably leave it out.