Scan to Mail Solution for Brother Control Center and Mozilla Seamonkey or TB

Be sure you read the full page, especially the legal chitchat at the bottom of the document, before actually executing the described steps. Also be aware that I provide no support of any kind for questions around this text. Emails about it will remain unanswered.

Today I tried to simply configure Scan to Mail functionality within the Brother Control Center to use Seamonky as E-mail application for my Brother printer/scanner. However, I failed with the simple approach as Seamonky just opened in browser mode to display the file resulting from the scan. Then I decided to consult the all-knowing and all-seeing trash heap, also known as World Wide Web, on my search for command line options and perhaps others who had and solved the problem. Sadly command line options alone did not help and I only discovered others who had the same problem and where looking for help in forums where registration would be required to provide a solution. Then I decided to grab together the few bits I know about computers and try to solve the problem by my own wits. I succeed and, despite I don't like to register on yet another web forum just to be punished by spam and the loss of yet another shard of privacy just for trying to help people, at least provide those others a small chance of finding maybe helpful information for their problem.

I have to admit that I have this solution only implemented for Seamonkey, but due to the command line options similarity between Thunderbird and Seamonkey, it could also work for Thunderbird. Just use in the description below the path to your tb.exe instead of the one to seamonkey.exe.

Step one, creating a batch file.

The Brother Control Center (further onward referenced as BCC) will try to invoke a mail application by plainly giving the path to the scanned file as one and only command line option. However, Seamonkey needs as command line options -compose "attachment='file:///PATH TO FILE'". So what is needed is an adapter to translate the BCC call for Seamonkey.

Go to the directory where you installed Seamonkey and create a new file there. Name it ScanToMailAdpter.bat. Actually you can name it whatever you want as long as it ends with the suffix .bat.

Open the file and write the line "PATH TO SEAMONKEY DIR\seamonkey.exe" -compose "attachment='file:///%1'" into the file, where PATH TO SEAMONKEY DIR has to be replaced with the absolute path to the directory where your seamonkey.exe is located. Also ensure you use the single and double quote characters as in the example. Reason for giving the absolute path is, that when BCC calls the Adapter the working directory is the BCC working directory and not the Seamonkey one, so you have to state where the Adapter is located.

Now save the file and close your editor.

You may test your batch now by opening a DOS shell and entering PATH TO SEAMONKEY DIR\ScanToMailAdpter.bat PATH TO SOME FILE. It should open your Seamonkey Mail Composer with the stated file listed under attachments. If not, check if you entered everything correctly in the batch file.

Step two, create an executable

Due to some circumstances I can not comprehend, at Brother they consider only .exe files to be executable under Windows. Thus the BCC allows us only to configure such for the Scan to Mail functionality. So we have to create a .exe from our .bat file now. Luckily there are such converters available for free on the net. I discovered one on this site, but there are also some others you will find by searching the web. So download and install a converter of your choice if do not already have one. I will proceed in the example by using the one I mentioned.

Now convert your ScanToMailAdpter.bat into ScanToMailAdpter.exe. I used the following configuration for the Converter to succeed and also avoid a nasty DOS box opening in the background together with the mail composer:

You can test the conversion now by repeating the same test as before, in the end of step one, but now use the .exe instead of the .bat file.

Step three, configure BCC

Now what's left is to tell the BCC that is should use the adapter for the Scan to Mail functionality. So start the BCC now and click the Configuration button in the upper part of the window.

A drop down menu will appear. Navigate to SCAN → E-mail and click that entry.

A dialogue window with the tabs Software Button and Device Button will open. The second tab might not be available if your device does not allow to initiate the Scan to Mail functionality from the device itself. We will start with the Software Button tab. Here you may see already some preconfigured e-mail applications. Now click on the Add button next to the drop down list of e-mail applications.

Yet another dialogue window will pop up. In the first field, enter a name of your choice for your e-mail application, e.g. Seamonkey. In the second field you have to give now the absolute path to the adapter .exe file, you can do so by invoking a file selector by the button right to that field. Now select the file type you want your scan attachments to have in the last field. When all this is done, just click on the Add button of that dialogue.

The dialogue window will close and we have the previous dialogue window available again now. Here the just added application and the file type configured for it should be selected now. If not, select them by hand now.

If you also have the Device Button tab available, select it now. You will see that it's content looks very similar to the content of the Software Button tab. Here you again have to select the E-mail Application and File Type you previously configured.

Now click the OK button to finish your configuration.

The final test is now to execute an scan by using the Scan to Mail functionality, first by using the BCC and, if available, second by invoking it from your device.

The technical chitchat

Software Versions

The legal chitchat

The information provided is given just on a "that worked for me" base and published as it might give some hints to others searching the web in vain for clues how to get this to work. It is private person to private person information. If you want a solution for commercial use, do not use it and instead contact the support of the organisations that provided you with the your devices and software.

I give no warranty of any kind for validity of the given information and referenced software or that it actually provides to you the functionality described. Also no warranty is given for any harm done to your data, hardware or software by following the above described steps.

I'm not affiliated with any of the companies or organisations mentioned, other that I'm a sometimes puzzled consumer of their products.

All product or images of products or other names or marks referenced herein are trademarks or registered trademarks of their respective owners, and are the properties of their respective owners, with all rights reserved, and are used under the Fair Use doctrine.

No bytes were injured during the production of this web page.