Project Description
MailTo Updater sets your default email handler in Windows to use gmail or GAFD instead of a standalone application.

This one is actually fairly simple, but is a problem I have run into at work a few times. We recently switched from an old timey email service to Google Apps for Domains (GAFD). The problem is that with everyone dropping Outlook and Thunderbird to use the Google’s web interface, when someone clicks on a mailto link on a website, their old email program loads. Now if Gtalk, or better gmail, or gmail manager, or any of the other I’m sure countless other programs that take care of this are installed, there is no problem. But if they are not, there needs to be someway to open the browser window.

This application is based on Gmailto project at: http://www.rabidsquirrel.net/G-Mailto/

My version is a little different though.
  • I have added GAFD support like I mentioned above
  • I have moved the settings into the registry in 2 places. The settings can be stored either in the HKCU branch of the registry tree or in the HKLM branch, where HKLM settings will trump HKCU settings. I did it this way so you can distribute the application to a bunch of users, and just populate some registry keys. Very simple from an administrative standpoint.
    • HKCU\Software\MailTo
      • Domain, REG_SZ, microsoft.com
      • GAFD, REG_SZ, true
      • Protocol, REG_SZ, https://
    • HKLM\Software\MailTo
      • Domain, REG_SZ, unclefestersusedcars.com
      • GAFD, REG_SZ, false
      • Protocol, REG_SZ, http://
  • You will also need to change the default handler for mailto links to this application. This can be done by modify one of the following keys. In this case (since its how Windows works, HKCU trumps HKLM):
    • HKCU\Software\Classes\http\shell\open\command
      • (default), REGSZ, “pathto_mailto.exe” “%1″
    • HKLM\Software\Classes\http\shell\open\command
      • (default), REGSZ, “pathto_mailto.exe” “%1″
  • In addition to these changes, the app will look at the current user’s default browser and use that to open the link, instead of having to actually specify that in the application.

Running the application with no arguments brings up the configuration window, where the above settings can be modified (or you can just modify the registry if you are so inclined).

mailtoscreen.png

Last edited Oct 8, 2009 at 2:50 PM by jdkc4d, version 3