mozdev.org

thunderbirdbiff

resources:
ThunderbirdBiff
What's New
Other Stuff
  • As Thunderbird does not always survive suspend/resume on some computers, added a notification to the user upon resume that this addon may not operate properly and offers to restart Thunderbird.
  • Please let the author know via email if you are having success with this addon under IPv6 - especially on Windows. Thanks!


SUMMARY:
This add-on provides a visual indicator of new Thunderbird mail availability in supported clients (Firefox, Sunbird) and Thunderbird itself. Note: you MUST install this add-on in BOTH Thunderbird and supported clients as there are both client AND server portions which communicate via a TCP/IP socket.

PLATFORMS:
I have personally tested version 2.x of this add-on only under Windows XP Pro. Several users have informed me that it also works on some linux distributions (Debian, Ubuntu, etc) and some MAC OS. So this version may work on those platforms as well - please let me know what you find. I have tested this add-on using the following Thunderbird email account types: pop3, IMAP, and those employing the webmail add-on.

RATIONALE:
Having recently switched from the Mozilla Suite to Firefox/Thunderbird, I missed some aspects of the integration between browser and email. I could not find an existing add-on to show a prominent visual indicator that new mail is ready (even if not automatically downloaded).

Thunderbird shows a popup message when mail is ready. But the popup may be shown and not seen. I also auto-hide my windows task bar so the tray icon is not always visible. Also, since I do not automatically download new messages, I am not always aware that new mail is waiting to be downloaded.

DETAILS:
After a default installation, a new icon is added on the right side of the status bar in Thunderbird and supported clients. Icon tool tips are provided. In Firefox and Sunbird, you may left-click the icon to start/show the Thunderbird. Note: use of the left click feature only makes sense if both Firefox/Sunbird and Thunderbird are meant to be used on the same computer (see the thunderbirdbiff.hostname option below). In all applications, a right-click of the icon will display the version of this add-on.

If the client application is started prior to starting Thunderbird, this add-on will show an unplugged cable icon. When Thunderbird is running, you should see either a plain mail icon or a mail icon with a flashing green arrow (new mail). In case of error, an "X" icon is shown.

OPTIONS:
The following options/preferences can be specified via this add-on's Options panel (or via the application's Config Editor):

(a) thunderbirdbiff.hostname - each client will look for a Thunderbird server on the computer with the name specified in this string option. By default the value is "localhost", the same machine on which the client application runs. The name/IP address of a reachable, remote computer may be specified if the client application is running on a machine other than the one which runs Thunderbird. It is a good idea to try to ping the hostname you plan to specify to be sure the computer is "reachable". This option is used only by client installations. If specified in Thunderbird, it is ignored.

(b) thunderbirdbiff.port - all clients and the Thunderbird server MUST agree on the TCP/IP port via which communication will occur. By default this add-on uses the TCP/IP port 25501. You may change this integer option to a value greater than 1023 if you find the default port setting blocked or otherwise in use.

(c) thunderbirdbiff.intervalSeconds - each client installation will poll the Thunderbird server to check for the presence of new mail at an interval specified by this integer option. 10 seconds is the default and the minimum value permitted. This option is used only by client installations. If specified in Thunderbird, it is ignored.

(d) thunderbirdbiff.useAnimation - by default, this add-on uses an animated gif to yield a "flashing arrow" effect when new mail arrives. It is possible that animated gifs may be blocked or otherwise disabled on your computer and prevent the new mail icon from being displayed properly. By toggling the default setting of this boolean option from "true" to "false", the animated gif will be replaced with a static image.

(e) thunderbirdbiff.position - by default, this add-on will place its icon on the right of the application's status bar. Toggling this string option's value from "right" to "left" will allow you to change the icon's position. Unfortunately, different add-ons contend for these highly desired locations on the status bar and there seems to be no way to warranty that your choice will be strictly respected after all add-ons have been loaded.

(f) thunderbirdbiff.startupEmail - this client-side boolean option (false by default) will, if enabled, cause the add-on to attempt to automatically start the default email tool (hopefully Thunderbird) on the local computer. If the email tool is already started, it should be shown. This option only makes if "thunderbird.hostname" is set to point at the local system.

(g) thunderbirdbiff.emailPath - this client-side string (empty by default) specifies the fully qualified path to your Thunderbird executable. On Mac, this should be your Thunderbird.app bundle.

Note: a restart of the application is NOT required when changing the above option settings. New option settings take effect immediately.

(h) thunderbirdbiff.logToFile - by default, this option is "false" and no verbose logging is sent to a file as the number and size of these files can grow large rapidly. So this option should be enabled only for debugging purposes. By toggling this boolean option to "true", detailed logs will be created. Changes to this option require a restart of the application. The add-on's Options panel displays the directory where log files will be stored. Log file names begin with thunderbirdbiff and are suffixed with the Mozilla application name (firefox, sunbird, thunderbird). A new log file is created each time an application is started.

OTHER:
Because this add-on makes use of TCP/IP sockets for communication, problems can arise if your firewall is not properly configured. If you have installed this add-on in Thunderbird and Thunderbird is running but your client installation shows only the unplugged cable icon, then be sure to check your firewall settings (after first confirming that the thunderbirdbiff.port and thunderbirdbiff.hostname options are properly set).

Some Thunderbird settings can affect the behavior of this add-on:

(a) Tools|Account Settings|Server Settings|Check for new messages every X minutes MUST be enabled. This add-on's results are triggered by the same mechanism through which the built-in Thunderbird biff is triggered. However, the built-in Thunderbird biff does not need to be enabled for this add-on to function. But if Thunderbird is not set to check for new messages on at least one account, do not expect to see much value in this add-on.

(b) Only IMAP and POP3 accounts are checked for new mail arrival. RSS and Newsgroup accounts are ignored.

The thunderbirdbiff project can be contacted through the mailing list or the member list.
Copyright © 2000-2014. All rights reserved. Terms of Use & Privacy Policy.