I have it setup to go to
c:\thunderbird\thunderbird.exe "%1"
but it doesnt seem to work. it opens the program, but it doesnt ever open a blank email with the address specified (%1)... what is the correct commandline format for a mailto link to work with thunderbird?
thanks. sorry if this has been asked before - I couldnt find it
MailTo links not working with Thunderbird
- saturn
- Posts: 173
- Joined: January 14th, 2003, 8:02 pm
- Location: Outer Space
- Contact:
- saturn
- Posts: 173
- Joined: January 14th, 2003, 8:02 pm
- Location: Outer Space
- Contact:
-
- Posts: 86
- Joined: October 4th, 2003, 3:07 am
- khurtwilliams
- Posts: 8
- Joined: February 10th, 2004, 7:32 am
- Location: Princeton
- Contact:
For Linux systems:
create a script in your thunderbird directory called thunderbird.sh
Add the following lines.
<i>
#where did you install thunderbird
export MOZILLA_HOME=/usr/local/thunderbird
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MOZILLA_HOME}
# get MAILTO
MAILTO=$1; [ -z ${MAILTO} ] && MAILTO=''
# try xremote first
${MOZILLA_HOME}/mozilla-xremote-client mailto\(${MAILTO}\) && exit 0
# if xremote failed, then launch the MUA
exec ${MOZILLA_HOME}/thunderbird ${MAILTO}
</i>
Now change your user environment to point to this new file to launch thunderbird.
In KDE 3.2 I modified the Component Chooser->Email Client piece to point to /usr/local/thunderbird/thunderbird.bash. I hope this helps.
create a script in your thunderbird directory called thunderbird.sh
Add the following lines.
<i>
#where did you install thunderbird
export MOZILLA_HOME=/usr/local/thunderbird
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MOZILLA_HOME}
# get MAILTO
MAILTO=$1; [ -z ${MAILTO} ] && MAILTO=''
# try xremote first
${MOZILLA_HOME}/mozilla-xremote-client mailto\(${MAILTO}\) && exit 0
# if xremote failed, then launch the MUA
exec ${MOZILLA_HOME}/thunderbird ${MAILTO}
</i>
Now change your user environment to point to this new file to launch thunderbird.
In KDE 3.2 I modified the Component Chooser->Email Client piece to point to /usr/local/thunderbird/thunderbird.bash. I hope this helps.
-
- Posts: 3
- Joined: December 15th, 2004, 12:56 am
-
- Posts: 28
- Joined: June 30th, 2005, 3:35 pm
- Contact:
Re: MailTo links not working with Thunderbird
In xubuntu look for "Preferred Applications" or in portuguese "Aplicativos Preferidos"
Replace Thunderbird by another and type:
/usr/lib/thunderbird/thunderbird -compose "to=%s"
the path to thunderbird may vary accord to your instalation, but the important part is the -compose "to=%s"
Replace Thunderbird by another and type:
/usr/lib/thunderbird/thunderbird -compose "to=%s"
the path to thunderbird may vary accord to your instalation, but the important part is the -compose "to=%s"
-
- Posts: 28
- Joined: June 30th, 2005, 3:35 pm
- Contact:
Re:
use -compose "to=%s"dp250f wrote:I couldn't get the linux method described above to work, but I did get it to at least bring up a new message from a mailto link in Konquerer (doesn't fill in To: field, or do anything in FireFox) by putting "/opt/MozillaThunderbird/bin/thunderbird.sh -compose" in the component chooser.
in xubuntu worked. maybe some systems use "to=%1" or something
- Daifne
- Moderator
- Posts: 123071
- Joined: July 31st, 2005, 9:17 pm
- Location: Where the Waters Meet, Wisconsin
Re: MailTo links not working with Thunderbird
Locking this 14 year old topic. Please check dates before you post.