Skip to content

You are not logged in. Register orLog In

start:

Root / Email -- [Prev    -    ]

Why can I not use my Mozilla email program as the default mailer for "mailto:"?


Using Mozilla 1.x and OOo 1.1.x under SuSe Linux I could not get the mailto:
option to work by entering information into Tools->General->External Programs.
All other options worked. I wrote the following script and used it as the external program.
The script is called mailtogm and is located in my mozilla program directory.
The name of the "mailto" program entered in the dialogue box of External Programs is
file:///usr/local/mozilla/mailtogm (your location may be different, in that case
change the exec line in the script below).


The script (make sure it is executable!):

#!/bin/sh
# start script
mailto=""
mailto `echo $1 | sed -e 's/mailto:/to=/'`
exec /usr/local/mozilla/mozilla -compose $mailto
# end script

One other topic I found was the problem with Mozilla products when one instance is already
running (all the derivatives of both email and browser seem to be affected), see
this link for further information.
It would be good to find a link somewhere to point people to and to show that the problem has
been looked at elsewhere. (As an aside I launch firefox from inside my mail client with a
shell script which checks to see if there is already a browser instance open).

Root / Email -- [Prev    -    ]