Zach has asked for the wisdom of the Perl Monks concerning the following question:

I want to send an ICal object in an email from a perl script that is received by someone using Outlook and schedules a meeting in their calendar. Where can I find example of code to do this? Thanks.
  • Comment on How do I embed a Net::ICal object in an email to schedule a meeting in Outlook?

Replies are listed 'Best First'.
Re: How do I embed a Net::ICal object in an email to schedule a meeting in Outlook?
by dan2bit (Acolyte) on Aug 02, 2001 at 01:42 UTC
    Not a trivial undertaking.

    I would bet that you would get mileage out of some of the Win32::OLE examples here about generating Outlook messages, combined with an examination of the specific headers that are contained in a meeting request and a meeting response message within Outlook, such as the sample request below (derived from a save as text command in outlook gui, and so perhaps not a complete example - might be better to use Win32::OLE to get the message and look at its headers). Relating such an Update to the original meeting request (so that the acceptor has their calendar block moved, rather than duplicated) and exhaustively accounting for recurrence patterns, meeting statusi, and show time as values are other non-trivial parts of this exercise. Happy coding!

    Subject: Updated: Fundraiser Location: Whitlows on Wilson Start: Thu 8/2/2001 7:00 PM End: Thu 8/2/2001 10:00 PM Show Time As: Tentative Recurrence: (none) Meeting Status: Not yet responded Required Attendees: CRM Managers; Optional Attendees: Technical Support; Hi Team! One last reminder....