RFC 2445 Attach property in ics-file

N

Niels Bosboom

I am using PHP5 to output an ics-file using the RFC 2445 specification
(http://tools.ietf.org/html/rfc2445). I am using Outlook 2003 to test the
output. All went well, except for attaching a file to the ics-file. I have
tried to attach a file using inline base64 encoding but that didn't work.
Adding an URI to the attach-property doesn't work either.
Any solutions? Or tips?
 
N

Niels Bosboom

Thank you for your quick reply!

The ics-file generated by Outlook contains the attach-property, but with an
CID-URI identifier. I believe that means the file is stored locally en is not
included with the ics-file. Like this:

BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
VERSION:2.0
METHOD:pUBLISH
BEGIN:VEVENT
ATTACH:CID:12e801ca159b$0ccb3a80$
DTSTART:20090903T070000Z
DTEND:20090903T150000Z
LOCATION:Stadion Galgenwaard\, Business Lounge\, Herculesplein 241\,
Utrecht
TRANSP:OPAQUE
SEQUENCE:0
UID:DATE20090903CONGRESID184
DTSTAMP:20090805T064325Z
DESCRIPTION: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
do eiusmod tempor incididunt ut labore et dolore magna aliqua.
SUMMARY: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.
PRIORITY:5
X-MICROSOFT-CDO-IMPORTANCE:1
CLASS:pUBLIC
BEGIN:VALARM
TRIGGER:pT4320M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR

The attach-propery my php-script outputs is like this:
ATTACH;FMTTYPE=application/msword;VALUE=BINARY;ENCODING=BASE64:***file
follows here***

Perhaps Microsoft doenst fully follow the internet standard described by RFC
2445.
 
B

Brian Tillman [MVP - Outlook]

Perhaps Microsoft doenst fully follow the internet standard described by RFC
2445.

This, certainly, is a fact, from what I can tell
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top