Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (Not For Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (Not For Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Thread Tools Search this Thread Display Modes
Old 24th July 2007, 01:16 AM
danwaineo Offline
Registered User
Join Date: Nov 2005
Location: Portland, OR
Posts: 243
HOW-TO: Make gmail or yahoo your default email client

I couldn't find a similar how-to on this site, so I thought I would make my own. This will let you pop up a browser with a compose window (email address and subject filled in!) using either gmail or yahoo mail. I use gnome with firefox, so these instructions may not be applicable for KDE or some other browser.

Go to System-->Preferences-->Preferred Applications

Under "Mail Reader" change from evolution to "Custom". Then type the following below it:

/home/dan/open_mailto.sh %s
Change "dan" to whatever is appropriate for you.

Now you'll need to create the open_mailto.sh file. For Yahoo:

FIREFOX=$(which firefox)
URL=$(echo $1 | sed 's#mailto:##;s#?#\&#;s#\&subject=#\&Subj=#;s#(##;s#)##i;')
$FIREFOX -remote "openurl(http://us.f368.mail.yahoo.com/ym/Compose?To=$URL)"
For gmail:

FIREFOX=$(which firefox)
URL=$(echo $1 | sed 's#mailto:##;s#?#\&#;s#\&subject=#\&su=#;s#(##;s#)##i;')
$FIREFOX -remote "openurl(https://mail.google.com/mail?view=cm&tf=0&to=$URL)"

$ chmod +x open_mailto.sh
A couple of notes:
1. The source of much of the information here is from this site:
2. The yahoo domain will change depending on your location, email address, etc. Change it to whatever works for you.
3. I've stripped the "(" and ")" characters because they were messing things up. This came up when responding to craiglist listings.

Hope this helps someone!
Reply With Quote
Old 25th July 2007, 05:21 PM
danwaineo Offline
Registered User
Join Date: Nov 2005
Location: Portland, OR
Posts: 243
I'm bumping this once more, because I don't think anyone saw it. Hopefully this will help someone.
Reply With Quote

client, default, email, gmail, howto, make, yahoo

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change Thunderbird to be the default email client royeo Using Fedora 1 25th November 2006 05:06 PM
How do you make Thunderbird the default email client in FC-5 royeo EOL (End Of Life) Versions 6 21st September 2006 07:07 PM
How can I make thunderbird default email client? imdeemvp Using Fedora 2 21st December 2004 04:32 PM

Current GMT-time: 22:53 (Sunday, 26-03-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat