Yahoo as default email client
I’ve had a Yahoo account since Yahoo was best of search engines (yes quite a bit ago) – I still like it. Instead of using my ISP provided email address I’ve just used Yahoo. Yahoo Mail can be used as the default email client instead of using Evolution, Thunderbird… in Gnome. In other words links that point to “mailto:” will open in mail.yahoo.com.
I use a hidden folder at home that contains all my scripts:
This nice bash script will direct Epiphany mailto links to yahoo:
qs=`echo $1 | sed ’s/mailto:/To=/’ | sed ’s/\?subject=/\&Subject=/’`
epiphany –new-tab “http://compose.mail.yahoo.com/?$qs”
Here’s an alternate as the above for some doesn’t always work:
URL=$(echo $1 | sed ’s#mailto:##;s#?#\&#;s#\&subject=#\&Subj=#;s#(##;s#)##i;’)
epiphany –new-tab “http://us.f585.mail.yahoo.com/ym/Compose?To=$URL”
Make the script executable:
To set it to the default application for mail in Gnome open Preferred Applications and select the script appended with a %s.
The script can also be used from the command line:
Thanks to Dhonn who built this bash script.



Verkehrswertgutachten said,
February 17, 2008 at 9:33 pm
Yo, I find your blog truly informative and would only say WOw. Some information, I would like to find more precisely. If you are withholding information about this contribution did, it would really fond of you, tell me this.
Dirk Gently said,
February 18, 2008 at 1:15 pm
Thanks Verkehrswertgutachten. I try not to be as true blue enclopedia brown-ish as is mortally possible. That said, at times I can be really superstituous.
Nathan R. Hale said,
March 25, 2008 at 8:37 am
This is great tip! I just posted a podcast on my site about integrating Gmail into the Linux desktop, and one listener asked how to this for Yahoo…thanks for the help!
THINES said,
May 27, 2009 at 1:19 am
HI
THINES said,
May 27, 2009 at 1:28 am
This is great tip! I just posted a podcast on my site about integrating Gmail into the Linux desktop, and one listener asked how to this for Yahoo…thanks for the help!
Dirk Gently said,
May 27, 2009 at 8:02 am
Absolutely NOOOO problem, glad it did help.
aung said,
June 26, 2009 at 5:17 pm
HI
Gen2ly said,
June 26, 2009 at 8:44 pm
Namaste! – Hindu language
rhyann said,
August 14, 2009 at 1:15 pm
my yahoo acount needs to work on every computer