Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

iCal via ColdFusion vs. iCal via Gmail

New Here ,
Apr 14, 2010 Apr 14, 2010

I'm sending an e-mail using the cffile output tag + an .ics file which is created when I schedule an appointment.  I want the user to get an e-mail notifying them of the appointment so I get the e-mail from CF as an attachment.

<cffile action = "write" 
    file = "e:\webdocs\myFilePath\#newORID#.ics" 
    output = " 
BEGIN:VCALENDAR.....

When the user clicks on the attachment Groupwise creates a sub-calendar + the event is added to the users calendar.  I've already had a technical support person tell me that Novell/Groupwise is able to absorb the iCal file I'm sending and correctly, when I send an event from GMail the event posts to the users calendar perfectly. 

Why is it that when I send the same file from my web application, the GW action posts a sub-calendar (unwanted behavior) AND the event.  All I want it to do is post the event.  Anyone had any experience sending anything from the web application to Groupwise? 

This is the .ics file from CF

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20100414T150000Z
DTEND:20100414T160000Z
DTSTAMP:20100414T151953Z
ORGANIZER;CN=Sue George:mailto:bsgeorge1234@gmail.com
UID:7tu4uoacpn88lvko0k43f19so0@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
;CN=bsgeorge1234@gmail.com;X-NUM-GUESTS=0:mailto:bsgeorge1234@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
TRUE;CN=sue@med.umich.edu;X-NUM-GUESTS=0:mailto:sue@med.umich.edu
CREATED:20100414T151931Z
DESCRIPTION:View your event at http://www.google.com/calendar/event?action=
VIEW&eid=N3R1NHVvYWNwbjg4bHZrbzBrNDNmMTlzbzAgc3VlQG1lZC51bWljaC5lZHU&tok=Mj
IjYnNnZW9yZ2UxMjM0QGdtYWlsLmNvbTRiYTllYzA1ZjhkMzY5ZjlhODcwNjhhZjJmODg2MDNkZ
TcwNWUxZDQ&ctz=America%2FNew_York&hl=en.
LAST-MODIFIED:20100414T151952Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:From ORSchedule/ColdFusion website
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

This is the .ics file from GMail

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20100414T150000Z
DTEND:20100414T160000Z
DTSTAMP:20100414T151953Z
ORGANIZER;CN=Sue George:mailto:bsgeorge1234@gmail.com
UID:7tu4uoacpn88lvko0k43f19so0@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
;CN=bsgeorge1234@gmail.com;X-NUM-GUESTS=0:mailto:bsgeorge1234@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
TRUE;CN=sue@med.umich.edu;X-NUM-GUESTS=0:mailto:sue@med.umich.edu
CREATED:20100414T151931Z
DESCRIPTION:View your event at http://www.google.com/calendar/event?action=
VIEW&eid=N3R1NHVvYWNwbjg4bHZrbzBrNDNmMTlzbzAgc3VlQG1lZC51bWljaC5lZHU&tok=Mj
IjYnNnZW9yZ2UxMjM0QGdtYWlsLmNvbTRiYTllYzA1ZjhkMzY5ZjlhODcwNjhhZjJmODg2MDNkZ
TcwNWUxZDQ&ctz=America%2FNew_York&hl=en.
LAST-MODIFIED:20100414T151952Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:This is a test to see iCal values.
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

4.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 15, 2010 Apr 15, 2010
LATEST

I don't think its an Coldfusion issue, its a problem with the Icalendar file format. Please change the request type to Publish and see if that helps.

In my experience getting ICS files to work with all Emails clients is a pain, especially with diff outlook versions.

Try going through the IETF standard, that should help you narrow the problem.

http://tools.ietf.org/html/rfc2445

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources