Click here to Skip to main content
15,895,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am trying to make a sample calendar project using ews managed api with version ExchangeVersion2010. I am getting total appointment properties like subject,startdate and so on.... using ics file file. I am Creating this file using the mimecontent provided by AppointmentSchema Object. After creating ics file using mimecontent i get the content as follows

BEGIN:VCALENDAR
METHOD:PUBLISH
PRODID:Microsoft Exchange Server 2010
VERSION:2.0
BEGIN:VTIMEZONE
TZID:India Standard Time
BEGIN:STANDARD
DTSTART:16010101T000000
TZOFFSETFROM:+0530
TZOFFSETTO:+0530
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T000000
TZOFFSETFROM:+0530
TZOFFSETTO:+0530
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ORGANIZER;CN=Sai Vaddadi:MAILTO:Sai2@ProConstructor.com
ATTACH:CID:4898A56C2D8087C1DDA6931AC38D7B5E34151A51@i-dbo.com
DESCRIPTION;LANGUAGE=en-US:jhjhjhjhjhjhjhjh\n\nThanks\nSai P\n
SUMMARY;LANGUAGE=en-US:jhjh
DTSTART;TZID=India Standard Time:20150203T200000
DTEND;TZID=India Standard Time:20150203T210000
UID:040000008200E00074C5B7101A82E00800000000846D7FDA9D3FD001000000000000000
010000000BED3954C4AA0454A81388A4EEEB6AB61
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20150203T104040Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:0
LOCATION;LANGUAGE=en-US:jhjhjh
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-OWNERAPPTID:2113018500
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-DISALLOW-COUNTER:FALSE
BEGIN:VALARM
DESCRIPTION:REMINDER
TRIGGER;RELATED=START:-PT15M
ACTION:DISPLAY
END:VALARM
END:VEVENT
END:VCALENDAR

I parsed this file using dday.icalendar and i get all the details except attachments(its just giving an cid tag) from this how can i get those attachments. if you have any ideas please reply.

Thankyou.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900