Saturday, October 16, 2021

Logging mail sending in Thunderbird

With the introduction of the rewritten mail send there has been a huge uptick in the number of folk having issues sending mail from Thunderbird. The changes have also brought with them a new way of logging the sending of mail in Thunderbird to provide diagnostic information.

Logging is now done using the error console (Ctrl+Shift+J) in the developer tools,  but for this to occur you need to enable logging using the config editor. Modify/set the preference  mailnews.smtp.loglevel to All using the linked config editor instructions

Now open the Error Console and clear any existing entries by clicking on the trash icon.

Send a mail, debug logs should show up in the Console tab looking something like what is shown below.


If you have been asked to supply a log,  or are seeking support somewhere with failures in sending then the following will provide a text file with the log in it.

Right click the console/log window and select all from the menu.

Right click again and select the rather oddly named "copy message"

Open windows notepad.(Windows key+R type notepad and press enter)

Save the file to your documents and either copy and paste or upload the file to provide the log to others. Be aware that the From and To addresses in the email are in the log you are sharing.


This part will certainly not work in versions after 91.

Again using the config editor set the preference mailnews.smtp.jsmodule to false.  This will invoke the old mail sending code that has been replaced and already removed from Thunderbird from V93 onwards.  This will allow the diagnosis of the problems to ensure it is the new send code that is at issue. It will also allow a few months of using the old code while bugs are fixed.  Please file bug in bugzilla if you identify a bug in the new code.

Friday, October 8, 2021

Logging the new account wizard

 While most folks will never have an issue with setting up an account,  there are however  those that for inexplicable reasons find that the process fails and the message they receive as to why is less than helpful.  Offering support to those people is difficult to say the least,  however having access to a complete log makes it much simpler.

How to actually capture a log of what happened in the account setup process. I have never seen it mentioned outside the Bugzilla bug management system. 

So here goes my attempt to document these things.

First you need to change some hidden preferences in Thunderbird to get a complete log.  So go to the config editor and make the following preference changes.
mail.wizard.logging.dump to all
mail.wizard.logging.console to all
Now access the error console (ctrl+Shift+J) or via the developer tools on the tool menu and clear it by clicking the trash bin icon

Once you have done the setup you can now attempt to set up your mail account and the entire operation will be logged to the console.
Once you have the output,  right click in the console and select export all messages to a file.
Once done with the logging change the preferences back to default as writing to the log is a somewhat expensive process and could slow Thunderbird at critical times.


Sunday, August 1, 2021

Grammar checking (and spelling as well in 25 Languages.)


Thunderbird has long missed out of a grammar checking library or addon.  Companies like Gammarly have fallen over themselves to get addons for browsers,  but none has shown interest in supporting desktop mail clients like Thunderbird.

This week that changed as the Grammar and Spell Checker - LanguageTool has been ported from Firefox to Thunderbird.  

The tool has been available for Firefox for some time and has some 170,000 users on Firefox with almost 2000 five star reviews ad a Recommended badge from Mozilla so I was determined to try it.  So far I like it.

The grammar and spell checker for Thunderbird is obviously very new and there is little to judge it by except the reviews for other products which appear to be mostly very good.  I have only used it in Thunderbird for one day and it has so far been quite useful, except I have to unlearn the right click spelling for Thunderbird.  Now it is right click.

The addon can be downloaded from here and I recommend it as it is the only game in town.  But it does have some fairly good features and supports a wide range of programs and writing platforms in the paid version.

The developers web site indicates the developer hosts it's servers in Germany and that the product is GDPR-compliant so the privacy of data will be a hight priority.

Sunday, March 7, 2021

The proliferation of release notes.

 This post is as much for me as for anyone else.  I am struggle to keep on top of these release notes.

Every version of Thunderbird comes with release notes. For V78 there are now a number as there have been 8 major releases and some minor releases in the 78 series since July 2020 when V78 was first released. 






















Those notes do not provide details on the security issues addressed in each release and they are covered here

Happy reading.