I am trying to create an ics file that contains multiple vevents that occur on the same day (but different times obviously).
The following file works on most, if not all clients, except MS Outlook 2007/2010 (didn't test 2003 - we have dropped support for that monstrosity).
This example will work fine if the two events occur on different days; just not on the same day.
Anyone have any experience with this case, or can anyone indentify what I am doing wrong?
Thanks a bunch!
P.S. I did an exhaustive search on these forums; but I didn't see any related topics.
I apologize if this is a repeat. Surprised to not find this issue already.
Here is an example file:
DESCRIPTION: Description for event 1 goes here.
SUMMARY;ENCODING=QUOTED-PRINTABLE: Event 1
DESCRIPTION: Description for event 2 goes here.
SUMMARY;ENCODING=QUOTED-PRINTABLE: Event 2
I forgot to mention:
After launching, Outlook returns the generic Ics file is not a valid "Internet Calendar File".
There is actually a very useful iCalendar validation tool created by Doug Day of Day Software:
I plugged in your sample and it seems to pass most validation, however there is 1 error and 3 warnings. The error is the missing PRODID calendar property - this is pretty easy to fix, and could be a cause for Outlook to reject the file.
The warnings relate to the use of QUOTED-PRINTABLE encoding, which is apparently deprecated.
I would try adding the PRODID first to see if this fixes the problem.
I was actually using this validator: http://severinghaus.org/projects/icv/
Looks like Mr Day's enforces a newer spec, or is just more strict.
In any case, I modified the file to add the ProdID, and to get a score of 100 - still no luck for MS Outlook 2007/10.
I have been posting on MSDN forums as well, so far no response.
Thought I would provide an update in case someone else has this issue.
So, if you import this file via MS Outlook import function - it will work w/o error.
Not sure what the import function does differently, I have a post over at msdn for the curious:
I am having same problem with Outlook 2007/2010. Were you able to find a solution without using the impot option in Outlook?
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.