How to Set Gmail as Firefox Default Email Client
In some occasions when you click on an email link while browsing some webpages, you will be prompted with email clients such as Microsoft Window Mail for Vista or Microsoft Outlook Express for XP. If your email client has yet to be configured, you need to set up and configure it before you can send out emails. It is quite troublesome and inconvenient if you haven’t done so. Anyway, if you are Gmail and Firefox users, the good news is the new Firefox 3 allows users to configure and set Gmail as a default email client. This latest Firefox 3 comes with support YahooMail as default email client. For Gmail users, some setting needs to be done to edit the “mailto” application handler.
- At the Firefox 3 address bar, you need to type in “about:config” and you will be prompted with a warning page. Just click on “I’ll be careful, I promise!” button to proceed.
- Type in “gecko.handlerService” into Filter box until you get gecko.handlerService.allowRegisterFromDifferentHost Preference name. Make sure the value is “True”. Change it if it is not.
- Also check for network.protocol-handler.external.mailto Preference name. Make sure the value is “True”.
- Copy the following code to the address bar and press ENTER.
javascript:window.navigator.registerProtocolHandler("mailto","https://mail.google.com/mail/?extsrc=mailto&url=%s","GMail") - Copy the following link and press ENTER if you are a Google Apps user:
javascript:window.navigator.registerProtocolHandler(”mailto”,”https://mail.google.com/a/example.com/mail/?extsrc=mailto&url=%s”,”GMail”)Change example.com to your own domain name.
- Firefox 3 will thence prompt you a question whether you want to add application. Click on the “Add Application” button.
- Now you click any mailto: link and you will prompt with a small window “Launch Application”. Firefox 3 requests your confirmation on which applications to be used. Check the “Gmail” box and also check the box showing “Remember my choice for mailto links”. Click OK
- The process is done. Anyway, for safety reason, it is advisable to go back to “about:config” and set gecko.handlerService.allowRegisterFromDifferentHost value back to false.
If you have decided to remove Gmail as your default mail client, you need to go to Firefox’s Tool menu and select Preference then go to Application tab. Find mailto and select Application Detail from the Drop-down menu. Remove GMail by select GMail and click remove.
For user using Yahoo! Mail, here’s how to set Yahoo! Mail as default email client in Firefox.
Share and contribute or get technical support and help at My Digital Life Forums.
Related Articles
- How to Set Yahoo! Mail as Default mailto: Client in Firefox 3
- How to Delete Emails from Gmail IMAP Access Mail Client
- How to Apply Multiple Labels to Gmail Messages in IMAP Client
- Download Free gAttach! to Set Gmail as Default Email Program for Fast Files Sending
- Sign Up as @Gmail.com Instead Of @GoogleMail.com As Email Address and Login
- How to Sign Up and Register for @GoogleMail.com Address as Default Email
- How to Forward Messages to Your Gmail Account
- Host Your Domain Email with Google on Gmail Technology
- Get, Retrieve and Consolidate POP3 Emails with Gmail Mail Fetcher
- Set and Force Gmail to Always Use Secure HTTPS Browser Connection

































June 30th, 2008 09:48
Hi,
I tried to follow the steps and tried to filter by putting gecko.handlerService in filter box but there is nothing having this as prefix.
I manually tried to locate the variable but “gecko.handlerService.allowRegisterFromDifferentHost”
is nowhere in the list of variables.
Can you help me in figuring out that what is going wrong.
June 30th, 2008 12:01
Are you using Firefox 3?
June 30th, 2008 12:14
No, it is firefox2 but does it not work for firefox2? If yes can you guide me?
June 30th, 2008 12:49
javascript:window.navigator.registerProtocolHandler(”mailto”,”https://mail.google.com/mail/?extsrc=mailto&url=%s”,”GMail”)
is not working. There is no any pop up dialog. Any ideas?
June 30th, 2008 13:10
Vaneet, Only works in Firefox 3. suchi, do you press Enter in Firefox 3?
June 30th, 2008 13:34
I report same result as suchi. the javascript step produces no visible result and I don’t find “webmail” in the Application list (via Options). I’m using a custom variation where “my server” is the name of my server
: javascript:window.navigator.registerProtocolHandler(”mailto”,”https://mail.”my-server”.net/src/login.php”,”webmail”)
June 30th, 2008 14:23
Have you verify gecko.handlerService.allowRegisterFromDifferentHost and network.protocol-handler.external.mailto are True?
June 30th, 2008 23:10
yes.
July 2nd, 2008 02:52
[...] Note: It’s also possible to set Gmail as the default mailto: handler at Firefox 3. [...]
August 7th, 2008 17:41
Te explicas como el culo, chaval
August 11th, 2008 17:41
The code will not work in form it given on this site, you must replace double quotation marsk ” to single ‘ :
javascript:window.navigator.registerProtocolHandler(’mailto’,'https://mail.google.com/mail/?extsrc=mailto&url=%s,’GMail’)