Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

Cannot save calendar item to memory stream (4.5.0)

$
0
0
Hi,

I have tried the following code:

var appointment = Appointment.Load(@"D:\msg\Calendar\1.ics");

using (var memoryStream = newMemoryStream())

{

     appointment.Save(memoryStream, AppointmentSaveFormat.Ics);          

}


However, when you attempt to save the item to the memory stream, it throws a "KeyNotFound" exception.

Viewing all articles
Browse latest Browse all 1367

Trending Articles