MailTo links not working with Thunderbird

Discussion of general topics about Mozilla Thunderbird
Locked
User avatar
saturn
Posts: 173
Joined: January 14th, 2003, 8:02 pm
Location: Outer Space
Contact:

MailTo links not working with Thunderbird

Post by saturn »

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 :(
User avatar
hansen
Posts: 5268
Joined: June 23rd, 2003, 6:28 am
Location: denmark

Post by hansen »

you gotta have tbird open, before mailto links works - bug...
User avatar
saturn
Posts: 173
Joined: January 14th, 2003, 8:02 pm
Location: Outer Space
Contact:

Post by saturn »

ah.
they should bring up the fix date on that one, its sorta major -- clicking mailto links on a webpage not working ....
Joker II
Posts: 86
Joined: October 4th, 2003, 3:07 am

Post by Joker II »

Hi Saturn!

Try

Code: Select all

"c:\Thunderbird\thunderbird.exe" -compose %1



... worked for me :)
TB and FF ROCK!
tphank
Posts: 62
Joined: May 29th, 2003, 10:07 am

Post by tphank »

Similar problem on Win2K here. Worked in the past, but recently stopped.

"c:\Thunderbird\thunderbird.exe" -compose %1

didn't work for me, but

c:\Thunderbird\thunderbird.exe -compose "%1" did !!!

HTH
User avatar
khurtwilliams
Posts: 8
Joined: February 10th, 2004, 7:32 am
Location: Princeton
Contact:

Post by khurtwilliams »

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.
dp250f
Posts: 3
Joined: December 15th, 2004, 12:56 am

Post by dp250f »

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.
alemao_ff
Posts: 28
Joined: June 30th, 2005, 3:35 pm
Contact:

Re: MailTo links not working with Thunderbird

Post by alemao_ff »

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"
alemao_ff
Posts: 28
Joined: June 30th, 2005, 3:35 pm
Contact:

Re:

Post by alemao_ff »

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.
use -compose "to=%s"

in xubuntu worked. maybe some systems use "to=%1" or something
User avatar
Daifne
Moderator
Posts: 123071
Joined: July 31st, 2005, 9:17 pm
Location: Where the Waters Meet, Wisconsin

Re: MailTo links not working with Thunderbird

Post by Daifne »

Locking this 14 year old topic. Please check dates before you post.
Locked