thunderbird-addon

Is Gmail Lab API open?

眉间皱痕 提交于 2019-12-10 11:09:59
问题 I am thinking about writing a plugin for email application. It can be put on Gmail Labs. It can be thunderbird plugin or even chrome/firefox plugin. But to get the most exposure I should put it on Gmail Labs if possible. Actually, I don't know if it's possible at all. BTW, I'm aware of this. Let me know what you think. 回答1: No, Gmail Labs is not open to external contributions. However, Gmail users can add external gadgets to Gmail. 来源: https://stackoverflow.com/questions/9985378/is-gmail-lab

Getting mail sender in a Thunderbird extension

自古美人都是妖i 提交于 2019-12-10 10:54:19
问题 I am working on a very simple Thunderbird extension, which is supposed to alert the name of the sender along with the names of the recipients whenever a mail is sent. The problem is that gMsgCompose.compFields.from field is empty in the below snippet (the .to field works as expected), which handles the "compose-send-message" event. What am I missing here? function send_event_handler( evt ) { var msgcomposeWindow = document.getElementById( "msgcomposeWindow" ); var msg_type = msgcomposeWindow

Is Gmail Lab API open?

微笑、不失礼 提交于 2019-12-06 11:36:57
I am thinking about writing a plugin for email application. It can be put on Gmail Labs. It can be thunderbird plugin or even chrome/firefox plugin. But to get the most exposure I should put it on Gmail Labs if possible. Actually, I don't know if it's possible at all. BTW, I'm aware of this . Let me know what you think. No, Gmail Labs is not open to external contributions. However, Gmail users can add external gadgets to Gmail. 来源: https://stackoverflow.com/questions/9985378/is-gmail-lab-api-open

How can I “hack” the Thunderbird Lightning extension to fully color categories

两盒软妹~` 提交于 2019-12-03 07:05:16
(Note: While I'm not entirely sure if this be better asked on SuperUser, I guess the fact that you probably will have to mess around in the xpi/jar file with the css settings, should make it suitable for SO.) Mozilla Thunderbird's Calendar extension, Lightning, will use different colors for different calendars, and just use a narrow vertical bar for the category color: (Light blue as calendar color and red as category color) What I would like to find out is how I could go about changing/"hacking" the css styles that - surely - must be associated with this, buried somewhere in the plugin

Get sender and recipients in Thunderbird extension upon sending message

[亡魂溺海] 提交于 2019-12-02 06:08:12
I'm playing around trying to create a Thunderbird extension, one of the bootstrapped/restartless type (I mean, javascript code is not run from overlays. Instead listeners fire for various events). At some point I'd like to check the sender and recipients (To, Cc, Bcc) when user decides to send the message, so to perform some checks on them. I already have a number of event listeners set up and working, including one for compose-send-message event that gets properly fired when user confirms sending the message. There, I'm not able to find how to get the sender email address as well as all

Stop Email From Sending

强颜欢笑 提交于 2019-12-01 13:49:31
I am working on writing an add-on for Thunderbird and would like to be able to cancel the sending of an email under certain conditions. I have the following code which allows me to execute code before the email is sent, but I don't know how to stop it. document.getElementById("msgcomposeWindow").addEventListener( "compose-send-message", function(){ var msgcomposeWindow = document.getElementById( "msgcomposeWindow" ); var msg_type = msgcomposeWindow.getAttribute( "msgtype" ); // do not continue unless this is an actual send event if( !(msg_type == nsIMsgCompDeliverMode.Now || msg_type ==