Thunderbird

Thunderbid extension: open eml file

六月ゝ 毕业季﹏ 提交于 2019-12-13 02:42:10
问题 I already created an extension that does the following: When I run Thinderbird with the command line thunderbird -MyCustomParam1 "12345" my extension will open a compose window and add the parameter "12345" to the window. Some code that I use: // In the calling code var args = { param1: 12345, }; args.wrappedJSObject = args; var watcher = Components.classes["@mozilla.org/embedcomp/window-watcher;1"] .getService(Components.interfaces.nsIWindowWatcher); watcher.openWindow(null, url, windowName,

Sending thunderbird email with attachment using visual basic from windows

僤鯓⒐⒋嵵緔 提交于 2019-12-11 13:10:58
问题 I'm trying to send email from a visual basic script using Visual basic WITHOUT any user action. The idea came for the first reference below. http://forums.mozillazine.org/viewtopic.php?f=39&t=540783 http://forums.mozillazine.org/viewtopic.php?t=203591 https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#-options The script does work BUT I have been unable to figure out how to include attachments. I know little about VB but in the first reference the mixture of " and chr(34) (

How to get todos from Thunderbird/Lightning calendars?

邮差的信 提交于 2019-12-11 07:09:53
问题 I can't find how to get all the todos of a calendar in Lightning. I thought the functions getItem() and getItems() from the calICalendar Interface (here) were the solution but I could not make it work properly. 回答1: You are going in the right direction. You just need to pass the flag that you want todos only. An example can be found here. To elaborate more on your example below, there are a few syntax errors and you might need different flags. I'm not sure why the alert is needed, that sounds

Acessing calendar of user email address using Java

谁说我不能喝 提交于 2019-12-11 04:43:36
问题 I have a requirement. I need to access a user's email that is on company specific domain. I need to get the calendar of that user and publish it to web application. I am exhausted finding any API that can help me to do that. The email client used by company is Thunder Bird, So , in specific, I need to access calender's from Thunder Bird for that particular user. Can any one tell me some suggestions for this. 回答1: Kumar Your question is very unprecise (what kind of is the server providing the

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

How do you insert email headers with a Thunderbird extension?

孤街醉人 提交于 2019-12-09 16:43:17
问题 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! 回答1: Here is the code from one extension I'm working on: function SendObserver() { this.register(); } SendObserver.prototype = { observe: function(subject, topic, data) { /* thunderbird sends a notification even when it's only saving the message as a draft. * We

Adding several attachments to thunderbird (from command line)

瘦欲@ 提交于 2019-12-07 05:33:18
问题 I try to create a new message with several attachments via command line, but this does not work: thunderbird -compose "attachment='/etc/mtab',attachment='/etc/fstab'" Only the first file gets attached. The second is missing. What is wrong with the above command line? PS: I tried xdg-email first, but this fails. See How to open the user's preferred mail application on Linux? 回答1: the command must be specified as thunderbird -compose "attachment='/etc/mtab,/etc/fstab'" I have tried under

Excel Macro sending through Thunderbird [closed]

旧巷老猫 提交于 2019-12-06 02:50:10
I was wondering if anyone knew how to build a macro in excel to send the spreadsheet through Thunderbird. Example Option Explicit Sub Thunderbird() Dim sCmd As String '// Prepare Thunderbird Dim sTo As String '// Recipient Dim sSubject As String '// Subject Dim sBody As String '// Email body sTo = "Test@Email.com" sSubject = "Subject" sBody = "body text" sCmd = "C:\Program Files\Mozilla Thunderbird\thunderbird" '// or 'sCmd = "C:\Program Files (x86)\Mozilla Thunderbird\thunderbird" '// Path sCmd = sCmd & " -compose " & Chr$(34) & "mailto:" & sTo & "?" '// Chr$(34)=double quote sCmd = sCmd &

What is the easiest way to apply git series of patches from Thunderbird

独自空忆成欢 提交于 2019-12-06 01:45:15
问题 I have a mail with N attachments in the 000X-xxxx.patch format. I would like to apply all the patches on top of my master, but I would like to have all the commits separate, as the original author commited them. Including the commit message of course. Method 1: Open the email, click Save as, xxx.eml and then: git am xxx.eml The result is ok, but everything is squashed into one commit. Not acceptable. Method 2. All the attachments are saved in a directory, then: git am 000*.patch Patch format

read thunderbird address mab files content

强颜欢笑 提交于 2019-12-05 23:07:03
问题 I have several address list's on my TBIRD address book. every time I need to edit an address that is contained in several lists, is a pain on the neck to find which list contains the address to be modified. As a help tool I want to read the several files and just gave the user a list of which xxx.MAB files includes the searched address on just one search. having the produced list, the user can simply go to edit just the right address list's. Will like to know a minimum about the format of