Implement a webmail configure

Reported by Ding Zhou on 2009-09-15
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Medium
Ding Zhou

Bug Description

In Ubuntu's Preferred applications app, you can choose which installed mail reader to use. This is the application that will launch when a mailto: link is clicked.
However, a lot of (most?) people prefer webmail over Evolution or Thunderbird.
It is not at all clear to the average user how to set this up, which is why I think this would make a great addition to Ubuntu Tweak.

Tweak could have a dropdown list containing the usual installed mail applications but with webmail clients (Gmail, Hotmail, Yahoo! Mail, AOL Mail) added to the list.

It would then have to change the following key in gconf: /apps/desktop/gnome/url-handlers/mailto/command to: /path/to/script/mailto.sh "%s"
while changing /apps/desktop/gnome/url-handlers/mailto/enabled to true and /apps/desktop/gnome/url-handlers/mailto/needs_terminal to false.

The scripts are the following:

Gmail:
#!/bin/bash
xdg-open "https://mail.google.com/mail?view=cm&tf=0&to=`echo "$1" | sed -e 's/mailto:\([^?]*\).*/\1/'`"

Hotmail:
#!/bin/bash
xdg-open "http://www.hotmail.msn.com/secure/start?action=compose&to=`echo "$1" | sed -e 's/mailto:\([^?]*\).*/\1/'`"

Yahoo! Mail:
#!/bin/bash
xdg-open "http://compose.mail.yahoo.com/?To=`echo "$1" | sed -e 's/mailto:\([^?]*\).*/\1/'`"

AOL Mail:
#!/bin/bash
xdg-open "http://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?to=`echo "$1" | sed -e 's/mailto:\([^?]*\).*/\1/'`"

Ding Zhou (tualatrix) on 2009-09-15
Changed in ubuntu-tweak:
assignee: nobody → TualatriX (tualatrix)
importance: Undecided → Medium
milestone: none → 0.5.0
status: New → Confirmed
Ding Zhou (tualatrix) on 2009-11-23
Changed in ubuntu-tweak:
milestone: 0.5.0 → 0.6.0
Oleg Yermakov (epushiron) wrote :

Sorry for duplicate comment, but maybe this program solves the problem better:

http://www.ubuntugeek.com/access-gmail-hotmail-yahoo-and-zoho-webmail-from-your-ubuntu-desktop.html

«Webmail for Linux Desktops provides a generic mailto: handler and webmail config dialog that lets the user choose his preferred webmail provider on first run and through the desktops Preferences->Webmail facility.
When clicking on mailto: links on your desktop or in your browser desktop-webmail will take care that the user gets redirected to his webmail of choice’s compose webpage with the proper fields pre-filled in.

Currently default webmail providers are: Gmail, Hotmail, Yahoo and Zoho.

Currently this is available for ubuntu lucid»

I guess you can get some code from that program or just offer users to install it.

Ding Zhou (tualatrix) wrote :

Thanks.

I will try to research and to see if I can learn something from the Webmail. Then integrate into Ubuntu Tweak.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions