Hi
Hi Daniel,
// Load the Outlook PST file<o:p></o:p>
PersonalStorage pst = PersonalStorage.FromFile(@"TestPst.pst");
// Get the Calendar folder
FolderInfo folderInfo = pst.RootFolder.GetSubFolder("Calendar");
// Loop through all the calendar items in this folder
MessageInfoCollection messageInfoCollection = folderInfo.GetContents();
foreach (MessageInfo messageInfo in messageInfoCollection)
{
// Get the calendar information
MapiCalendar calendar = (MapiCalendar)pst.ExtractMessage(messageInfo).ToMapiMessageItem();
// Display some contents on screen
Console.WriteLine("Name: " + calendar.Subject);
// Save to disk in ICS format
calendar.Save("temp\\" + calendar.Subject + ".ics", AppointmentSaveFormat.Ics);
}
Hi
Hi Daniel,
thank you for your help.
Hi Daniel,
- Extracting and saving appointment to stream from PST raises exception - logged as NETWORKNET-33808
- Appointment class not recognizing optional attendees - logged as NETWORKNET-33809
- Organizer and optional attendees missing during appointment extraction from PST - NETWORKNET-33811
thank you.
The issues you have found earlier (filed as NETWORKNET-33808;NETWORKNET-33809;NETWORKNET-33811) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.