MozillaZine

how to put mozilla linking to a email client?

Discussion of features in Mozilla Firefox
mmodem
 
Posts: 86
Joined: July 25th, 2003, 8:59 am

Post Posted July 30th, 2003, 2:56 pm

I would like to know how to link mozillafirebird to a email client, like for example kmail
To when clicking in a email address will open kmail

can any1 help?

jrobbio

User avatar
 
Posts: 713
Joined: June 28th, 2003, 12:40 pm
Location: Loughborough, England

Post Posted July 30th, 2003, 2:59 pm

Mozex from http://mozex.mozdev.org/ will do the trick.

http://extensionroom.mozdev.org/#mozex goes straight to the xpi link
Official Win32 BitTorrent 0.7: here
BT Tracker
- Get the latest Fire/Thunderbird builds

daihard
Folder@Home

User avatar
 
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA

Post Posted July 30th, 2003, 11:51 pm

jrobbio wrote:Mozex from http://mozex.mozdev.org/ will do the trick.

http://extensionroom.mozdev.org/#mozex goes straight to the xpi link

Mozex seems to be the way to go. I never figured out how to launch kmail from "mailto," and I'd probably never have without the extension. Thanks!

For those using kmail, use the following syntax within the "Settings" dialog box:
Code: Select all
/usr/bin/kmail %a

Replace the path to kmail to suit your system.
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)

YFan

User avatar
 
Posts: 299
Joined: July 20th, 2003, 2:17 pm

Post Posted July 31st, 2003, 2:44 pm

I found Mozex setup a bit confusing. So this is what I did at the recommendation of another thread in this forum: start>control panel>folder options>file types (tab)>URL:Mailto protocol, click advanced, select Open, edit, and put in the Application used to perform action: "C:\[TB Directory]\thunderbird.exe" -compose %1. Bingo. Now TB is automatically used, and I disabled Mozex.

jrobbio

User avatar
 
Posts: 713
Joined: June 28th, 2003, 12:40 pm
Location: Loughborough, England

Post Posted July 31st, 2003, 2:53 pm

YFan wrote:I found Mozex setup a bit confusing. So this is what I did at the recommendation of another thread in this forum: start>control panel>folder options>file types (tab)>URL:Mailto protocol, click advanced, select Open, edit, and put in the Application used to perform action: "C:\[TB Directory]\thunderbird.exe" -compose %1. Bingo. Now TB is automatically used, and I disabled Mozex.


Thanks YFan, when I finally decide to permanently adopt Thunderbird, this is what I will do. Mozex allows me to keep everything independent, which is good for testing purposes. Maybe your advice should be stickied in the Thunderbird and Firebird sections.

Rob
Official Win32 BitTorrent 0.7: here
BT Tracker
- Get the latest Fire/Thunderbird builds

YFan

User avatar
 
Posts: 299
Joined: July 20th, 2003, 2:17 pm

Post Posted July 31st, 2003, 3:04 pm

OK, but can someone please educate me on Mozex? I would like to learn it anyway even if I don't use it. I mean I got all confused as to what to put in what field and how they are determined. How do I decide?

daihard
Folder@Home

User avatar
 
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA

Post Posted July 31st, 2003, 5:27 pm

YFan wrote:OK, but can someone please educate me on Mozex? I would like to learn it anyway even if I don't use it. I mean I got all confused as to what to put in what field and how they are determined. How do I decide?

There are four options in the Settings dialog box: mailto, ftp, telnet and news. They are the embedded commands that Mozex can handle. For instance, "mailto" is used when clicking an e-mail address on a Web site will launch an e-mail client using the address as the recipient.

So if you want your favourite e-mail client to start when you click a "mailto" address on a Web site, click the "mailto" option first in the General category. Then in the Commands category, fill out the "mailer" field with the e-mail client application that's supposed to start. In my case, it's kmail, so I type in: "/usr/bin/kmail %a", where %a will automatically be replaced by the e-mail address you click.
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)

David James

User avatar
 
Posts: 1321
Joined: November 4th, 2002, 10:19 pm
Location: Ottawa, Ontario, Canada

Post Posted July 31st, 2003, 9:11 pm

daihard wrote:
jrobbio wrote:Mozex from http://mozex.mozdev.org/ will do the trick.

http://extensionroom.mozdev.org/#mozex goes straight to the xpi link

Mozex seems to be the way to go. I never figured out how to launch kmail from "mailto," and I'd probably never have without the extension. Thanks!

For those using kmail, use the following syntax within the "Settings" dialog box:
Code: Select all
/usr/bin/kmail %a

Replace the path to kmail to suit your system.


Actually, that should be
Code: Select all
/usr/bin/kmail --subject %s %a

so that you can get the subject field passed if there is one. See the newly updated <a href="http://mozex.mozdev.org/screenshots.html">mozex screenshots</a> page. Hmmm, I wonder who supplied the second screenshot :?:
Pinball-Firefox maintainer.
http://david.jamesnet.ca/
Debian Sid, KDE 3.3

mmodem
 
Posts: 86
Joined: July 25th, 2003, 8:59 am

Post Posted July 31st, 2003, 9:28 pm

I puted thunderbird as the email client in the mozex extension

/usr/local/thunderbird/thunderbird %a

but when i click in a email adress, nothing happens, the other email clients as kmail function ok

daihard
Folder@Home

User avatar
 
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA

Post Posted July 31st, 2003, 9:49 pm

David James wrote:
daihard wrote:For those using kmail, use the following syntax within the "Settings" dialog box:
Code: Select all
/usr/bin/kmail %a

Replace the path to kmail to suit your system.

Actually, that should be
Code: Select all
/usr/bin/kmail --subject %s %a

so that you can get the subject field passed if there is one. See the newly updated <a href="http://mozex.mozdev.org/screenshots.html">mozex screenshots</a> page. Hmmm, I wonder who supplied the second screenshot :?:

I wonder who!!! ;) Thanks for the info. I discovered "%a" by fiddling with different format chars, and I sure had no idea you could pass the subject variable onto kmail as well. Where did you learn all that? :-({|=
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)

YFan

User avatar
 
Posts: 299
Joined: July 20th, 2003, 2:17 pm

Post Posted July 31st, 2003, 10:01 pm

Thanks a lot daihard and everyone else. I feel like I learned something now :).

mmodem
 
Posts: 86
Joined: July 25th, 2003, 8:59 am

Post Posted July 31st, 2003, 10:02 pm

u still didnt explain how to put thunderbird working form the mozex extension...

If u had give a good look you should have seen that %s stands for subject and %a for email address
just give a look to http://mozex.mozdev.org/arguments.html

so it functions very well as
/usr/bin/kmail %s %a

but thunderbird with or without option dont function at all, and u didnt said nothing about it

great help u gave...

YFan

User avatar
 
Posts: 299
Joined: July 20th, 2003, 2:17 pm

Post Posted July 31st, 2003, 10:04 pm

mmodem wrote:u still didnt explain how to put thunderbird working form the mozex extension...

If u had give a good look you should have seen that %s stands for subject and %a for email address
just give a look to http://mozex.mozdev.org/arguments.html

so it functions very well as
/usr/bin/kmail %s %a

but thunderbird with or without option dont function at all, and u didnt said nothing about it

great help u gave...

Actually I just tested it (with TB's directory of course) and it works perfectly well with mozex, at least for the mailto intercepting.

mmodem
 
Posts: 86
Joined: July 25th, 2003, 8:59 am

Post Posted July 31st, 2003, 10:12 pm

i use firebird 0.6.1 and thnderbird0.1 and i cant put thunderbird working from the mozex extension

/usr/local/thunderbird/thunderbird %s %a

i use mandrake 9.1 with kde

i also tried to put thunderbird as the default email and nothing works

daihard
Folder@Home

User avatar
 
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA

Post Posted July 31st, 2003, 10:18 pm

mmodem wrote:u still didnt explain how to put thunderbird working form the mozex extension...
[snip]
but thunderbird with or without option dont function at all, and u didnt said nothing about it

great help u gave...

I don't know who you mean by "u," but just one thing... I did not provide any info on thunderbird because I don't know much about it. If I had tried, I would only have confused and/or misled you, which is why I remained silent on it.
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)

Return to Firefox Features


Who is online

Users browsing this forum: No registered users and 0 guests