Search code examples
calendaricalendardday

ics Alarms are not appearing in Google Calendar or Outlook


I'm a bit surprised I did not find a solution or answer to this question because there appears to be a lot devs out there experiencing it.

I'm generating an ics file with the help of DDay.ical but the VALARMS are not setting reminders in google calendar or outlook 2007.

Here a snippet from the ics file

Thank you very much in advance for your assistance sniffing out an explanation or fix.

BEGIN:VCALENDAR
VERSION:2.0
METHOD:REQUEST
PRODID:-//ddaysoftware.com//NONSGML DDay.iCal 1.0//EN
BEGIN:VEVENT
CREATED:20110911T134152Z
DESCRIPTION:\n\n-----------------------------------\nClient Name:No Client 
 was selected\n Email: \n Phone:\n Alt Phone:
DTEND:20110911T203000Z
DTSTAMP:20110911T183854
DTSTART:20110911T200000Z
LAST-MODIFIED:20110911T134152Z
LOCATION:Facebook Ad
ORGANIZER;CN=XXX XXXXXX;SENT-BY="MailTo:XXXXXXX@gmail.com"
 :
SEQUENCE:0
SUMMARY:Marketing - Print Ad @ Facebook Ad
UID:cd9a1618-aeb1-4ec2-8f6a-64989950ea9c
BEGIN:VALARM
ACTION:Display
DESCRIPTION:1:45
TRIGGER:PT15M
END:VALARM
END:VEVENT
END:VCALENDAR

Solution

  • For the VALARM not working, double check that the end-of-line being used is \r\n, not just \n as is incorrectly shown in many examples on the web.

    For more detail see my answer to a similar question here: https://stackoverflow.com/a/16540934/834431