.ics attachments in Kmail

.ics attachments in Kmail

Post by Sylvanu » Fri, 10 May 2002 17:32:54



Has anyone worked out how to get .ics (Internet Calendar Sharing)
attachments in Kmail to automatically update Korganizer?

To explain, Outlook / Notes users can invite / notify other users of
appointments etc by sending them a .ics invitation attached to a mail. Its
possible to manually save the attachment and merge it into Korganizer but
that takes time and effort (and I'm lazy...)

There's a script that IK suggested on dot.kde.org which looks terrifically
useful as follows:

"in case somebody is interested in receiving appointments from outlook
users:

 this script:
 #!/bin/sh
 if ps uxwwww | grep korganizer | grep -v grep; then
 echo korganizer running
 else
 kstart korganizer
 fi
 dcop korganizer KOrganizerIface mergeURL $1

 together with this filter:
 match all of:
 MESSAGE contains BEGIN:VCALENDAR
 MESSAGE contains METHOD:REQUEST
 execute command:
 /path/the_script.sh %0"

Only problem is that I can't get it to work....Any ideas or hints  - happy
to work on a solution if anyone could suggest ideas on where the problem
is. Thanks in advance.

I'm running SuSE 8.0 with kde3 / kmail 1.4 and korganizer 3.0.