10 Comments

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:

gedit ~/.bin/yahoo-mailto

This nice bash script will direct Epiphany mailto links to yahoo:

#!/bin/bash
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:

#!/bin/bash
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:

chmod +x ~/.bin/yahoo-mailto

To set it to the default application for mail in Gnome open Preferred Applications and select the script appended with a %s.

set email client

The script can also be used from the command line:

yahoo-mailto mailto:person@site.com

Thanks to Dhonn who built this bash script.

About these ads

About Gen2ly

<3's linux

10 comments on “Yahoo as default email client

  1. 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.

  2. 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.

  3. 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!

  4. 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!

  5. Absolutely NOOOO problem, glad it did help.

  6. Namaste! – Hindu language

  7. my yahoo acount needs to work on every computer

  8. I need specific instruction on how to integrate Yahoo mail as default into Google Chrome browser on Xubuntu 10.10. Please advise. Thanks a million times.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 52 other followers

%d bloggers like this: