Aug 23, '06 07:30:05AM • Contributed by: jaaronp
Sometimes they show up as standard .ics files that I can double click to have them imported into iCal. Other times they show up as links to somewhere on the OWA (Outlook Web Access) server that don't resolve. Inspecting the email as raw source shows that the ICS data is actually in the email, it just isn't showing up right. So I wrote an AppleScript that will extract ICS data from an email, save it to a temp file, import it into iCal, then remove the temp file.
I set this script as the action for a Mail rule of the form:
Content-class -- Contains -- urn:content-classes:calendarmessage
Note that the Content-class header is not in the default list of headers on which you can set a rule action, but you can add it.
Now whenever I receive a meeting invite generated by Outlook or Entourage (though not Evolution, which apparently doesn't set this header), the script is automatically run and the event is added to my iCal schedule.
[robg adds: I haven't tested this one.]
