What is the minimal Format of an iCal event to attach to an email?
Hello all!
I just finished a large order page for a taxi friend. I would like to send the order with an iCal event attached to an email. He should only click on this new file, to enter this pickup order to his iCal ...
I am struggling with the format. In my CGI script I have the following format, where the $variables are replaced with the convinient strings:
BEGIN:VCALENDAR
BEGIN:VEVENT
DTEND;TZID=Europe/Berlin:$ical_data_end
SUMMARY:$ical_summary
DTSTART;TZID=Europe/Berlin:$ical_data_start
DTSTAMP:$ical_dtstamp
LOCATION:$ical_location
SEQUENCE:0
DESCRIPTION:$ical_comment
BEGIN:VALARM
TRIGGER:-PT1H
DESCRIPTION:Event reminder
ACTION:DISPLAY
END:VALARM
END:VEVENT
END:VCALENDAR
Does a time string like "20120608T123500" has to finish with a "Z" ? Do I need additional informations, like "UID:", "X-WR-ALARMUID:" ... In any case my iCal event sent by email is not adding to the iCal saying: "iCal can't read this calendar. No events have been added to your iCal calendar."
I would be grateful for any hint
marek