Friday, July 23, 2010

Making all your mailto: links work for Google Apps hosted email

So, one of my users on my personal Google Apps domain (my Dad) asked the same question that I had written off as a normal inconvenience of using web-based email.  Not having an actual, physical application my desktop to associate with the mailto: links on webpages means that every time I click on a link an unconfigured Outlook fires up.  Annoying.  And then my Dad asked me about it, so I had to get to the bottom of this.

After a little searching I found that there is Gmail Notifier and other like applications, but they seem to only work with Gmail accounts, not Google Apps hosted email accounts.  Then I found this article, which I'm summarizing and reprinting, just in case the Google Support Forum goes away, and to make this easier to find in search engines.

http://www.google.com/support/forum/p/Google+Apps/thread?tid=78ea6533155ea1fe&hl=en


Edit the following text and make it into a reg file before applying it by replacing yourdomain.com with your Google Apps hosted email domain.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Gmail.Url.Mailto]
@="URL:Mail Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\Gmail.Url.Mailto\shell]

[HKEY_CLASSES_ROOT\Gmail.Url.Mailto\shell\open]

[HKEY_CLASSES_ROOT\Gmail.Url.Mailto\shell\open\command]
@="rundll32.exe url.dll,FileProtocolHandler http://mail.google.com/a/yourdomain.com/?extsrc=mailto&url=%1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Gmail]
@="Gmail"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Gmail\Capabilities]
@=""
"ApplicationDescription"="Gmail"
"ApplicationName"="Gmail"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Gmail\Capabilities\URLAssociations]
"mailto"="Gmail.Url.mailto"

[HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications]
"Gmail"="Software\\Clients\\Mail\\Gmail\\Capabilities"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Gmail\Protocols]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Gmail\Protocols\mailto]
"URL Protocol"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Gmail\Protocols\mailto\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Gmail\Protocols\mailto\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Gmail\Protocols\mailto\shell\open\command]
@="rundll32.exe url.dll,FileProtocolHandler http://mail.google.com/a/yourdomain.com/?extsrc=mailto&url=%1"


Save the above text as a .reg file. Then double click on it to import it into your registry.

Lastly, go into your Internet Options in Internet Explorer and change your default MAILTO application to the new Gmail application.

All done!

Chris
LABrat.com

No comments:

Post a Comment