Best Practices - EWS is not generating ATTENDEE section for iCal/MIME/VCALENDAR pulled from a meeting.

This is expected behavior. Per MSDN: Programmatically reestablishing meeting organizer/attendee relationships directly on the appointments is not supported. Calendar POST items do not have attendees per RFC and that’s what is being generated.  What would go into an ATTENDEE section of iCal is a relational point in time thing.  There is an ongoing relationship between a meeting organizer and its attendees…

0

Howto: CDOSYS/C# Sending an ICS file

Todo:1) Open an appointment in Outlook.    Save to file as an .ICS file.2) Create a C# project and add the code below.3) Do the TODO sections. ‘TODO: Add a refernce to CDOSYS using System.IO;private void btnSendUsingIcs_Click(object sender, System.EventArgs e){ string sFrom = “me@mycompany.com”;      //  TODO: Change string sTo = “me@mycompany.com”;  //  TODO: Change string sSubject = “This is…

1

HOWTO: Attatch .ics, .mht files with CDOSYS/System.Web.Mail

Note:  By setting the ContentMediaType property of the attatchment body part object to “text/html”, you should be able to            properly attatch most any type of file.   This includes .mht, .ics, etc. Example:      // Attatch needed files.    // TODO: Change this section or comment-out    String sFile = @”C:\dev\mapi\test.mht”;  // File to attatch       oBP = oMsg.AddAttachment(sFile,””,””);  //…

0