Thunderbird to kde integration

Denis Kostousov sandello at permonline.ru
Fri Jun 10 05:34:05 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I want to integrate Mozilla Thunderbird to KDE (as default mail application).

I wrote small script that can connect to existing TB or lauch it:
- -------------
#!/bin/sh

export MOZILLA_FIVE_HOME="$HOME/Programs/Thunderbird"

url="$1"
if [ "x$url" = "x" ]; then
  exit 0
fi

url=`echo $url|sed 's/^mailto://'`

if $MOZILLA_FIVE_HOME/thunderbird -remote "mailto($url)"; then
  exit 0
fi
exec $MOZILLA_FIVE_HOME/thunderbird "$url"
- -------------

Then I set this as default mail application in KDE.

But, when I tried send message to person in KAddressbook, this script execudet without any argument.
Why?
How KDE pass email address to mail application?



- --
Denis Kostousov
email: sandelloTHEDOGpermonline.ru
jabber: sandelloATjabber.org
fingerprint: FE3D 60AF E08D 2D2A 6A8B  C891 70BB 0665 F047 ADAE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCqRg9cLsGZfBHra4RArERAKCD1ghw24jq03jsLQB7oh2jX7hsRgCcCDin
ocaGYQ+XGZHBDaiZ1Cr0iLA=
=2RSk
-----END PGP SIGNATURE-----
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list