Quote:
|
Originally Posted by breeze76
Does anyone know how to create and format an .ics file?
breeze76
|
OK kind of answered my own question, but am using a .vcs file instead.. But here is my QUESTION:
OK.. I want to attach a file created each time a user fills out a form, and save it as a *.vcs file and then after the user logs off it is deleted so it can be used again. Here is the code I got from MSOutlook vcs file:
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
VERSION:1.0
BEGIN:VEVENT
DTSTART:20040429T050000Z
DTEND:20040506T050000Z
LOCATION;ENCODING=QUOTED-PRINTABLE:Any where
UID:040000008200E00074C5B7101A82E00800000000106B8F F9252EC4010000000000000000100
0000066F713F407EE07498608835257C8CE15
SUMMARY;ENCODING=QUOTED-PRINTABLE: Deposition Scheduled
PRIORITY:3
END:VEVENT
END:VCALENDAR
Questions:
1) Does it need this info: "PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN"
2) Is the version needed: "VERSION:1.0"
3) Does the time and date need to be formatted like this : "DTSTART:20040429T050000Z"
4) Is this UID info needed: "UID:040000008200E00074C5B7101A82E00800000000106B8 FF9252EC4010000000000000000100
0000066F713F407EE07498608835257C8CE15"
5) How would I save the info and attach it to the email? I am going to use a static name so I could hard code the attachment to email, easily done.
I have a few more questions, but will wait and see if anyone will attack this issue with me.
Thanks...
breeze76