Welcome to WebmasterWorld Guest from 54.144.107.83

Forum Moderators: incrediBILL

Message Too Old, No Replies

Want Firefox to use Thunderbird

need a howto

     
9:53 pm on Jul 15, 2004 (gmt 0)

New User

10+ Year Member

joined:July 15, 2004
posts:4
votes: 0


I'm using Firefox 0.9.1, and Thunderbird 0.7.1,
and I want them to talk nicely to eachother;
specifically, I want to be able to click on a
mailto: link in Firefox and find myself in
Thunderbird.

I'm afraid I'm clueless how to do this. I did
see an earlier thread that had me put a boolean
in about:config of Firefox, but that's not
enough by itself.

++ kevin

10:06 pm on July 15, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 15, 2003
posts:2395
votes: 0


Assuming windows:

Start menu > settings > control panel > Folders (or is it "folder settings")

Choose "file types" tab -> Locate "URL:MailTo protocol" -> select it and click "Advanced"

Then, select the action "open" and click "edit".

1) In "Program that performs action" (i'm looking at a non english windows box, so i'm trying to translate), type:

"C:\Program Files\Mozilla Thunderbird\thunderbird.exe" -mail "%1"

2) Select "Use DDE"

3) Leave "DDE message" empty

4) In "Program", write "Thunderbird"

5) Leave "DDE program not running" empty

6) In "Subject", type "System"

-> Click "OK" -> Click "OK" -> Click "Close"

1:28 am on July 16, 2004 (gmt 0)

New User

10+ Year Member

joined:July 15, 2004
posts:4
votes: 0


Oops. I should have mentioned this is under Linux.
Accordingly, no Start menu, and so on...

++ kevin

10:01 am on July 17, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 15, 2003
posts:2395
votes: 0


Forgot to say: Welcome to WebmasterWorld kogorman :)

>> Linux

It seems that this is one place where the windows setup is actually useful, although it's not at all intuitive. But nevermind, let's take the linux thing

On Linux there's no default MailTo app handler, so you'll have to make one. Step one is to point Firefox in the right direction, so type "about:config" in the address bar and look for this:

network.protocol-handler.app.mailto

If you find it, double click and enter a path to your script, eg: "/path/to/mailto-handler.sh"

If you don't find it, you should enter this value in your "user.js" file:

 user_pref("network.protocol-handler.app.mailto", "/path/to/mailto-handler.sh"); 

(the user.js is in your profile folder)

An example of such a script:

 #!/bin/bash
thunderbird -remote 'ping()' ¦¦ exec thunderbird "$@"
# exec thunderbird if there's no instance running
thunderbird -remote "xfeDoCommand(openInbox)"
# otherwise raise window,
[ "${1%%:*}" = 'mailto' ] && thunderbird -remote "mailto(${1#mailto:})"
# and maybe send the mailto:

Source: [forums.mozillazine.org...]