We are using the following code to email to a user's shared email/calendar
system.  We use the same code without the cfmailpart bits to create a
calendar of events for users.  Hope this helps.

<cfmailpart type="text/calendar; method=REQUEST; name=meeting.ics"
charset="utf-8">BEGIN:VCALENDAR
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
UID:#getregid.regid#-#eventid#-
SUMMARY:#eventtitle#
LOCATION:#eventlocation#
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;
   RSVP=FALSE:mailto:#form.rsvpemail#
ORGANIZER:mailto:[EMAIL PROTECTED]
DTSTART:#dateformat(realdate,'yyyymmdd')#T#timeformat(starts,'HHmmss')#
DTEND:#dateformat(realdate,'yyyymmdd')#T#timeformat(end,'HHmmss')#
STATUS:CONFIRMED
CLASS:PUBLIC
END:VEVENT
END:VCALENDAR
</cfmailpart>

On Fri, Aug 8, 2008 at 10:29 AM, Pete Ruckelshaus <[EMAIL PROTECTED]>wrote:

> A quick Google is not turning up much of use.
>
> Has anyone here created .ics files using CF for simple events (i.e. date,
> time, location, etc.)?  If so, care to share any code?
>
> Thanks
>
> Pete
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310525
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to