We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Appointment Properties

im loading ics and msg files but i dont see the Private or Priority properties of a appointment.

Hi Joseph,

Thank you for contacting Aspose support team.

We can read the PR_IMPORTANCE and PR_SENSITIVITY property value of a MSG file using following code.

MapiMessage mapi = MapiMessage.FromFile(@“Sample.msg”);
if (mapi.Properties.Contains(MapiPropertyTag.PR_IMPORTANCE))
Console.WriteLine("Importance = " + mapi.Properties[MapiPropertyTag.PR_IMPORTANCE].GetInt32());
Console.WriteLine("Sensitivity = " + mapi.Properties[MapiPropertyTag.PR_SENSITIVITY].GetInt32());

Could you please give it a try and let us know the feedback?

thnaks how can i get these values from a ics file

Hi Joseph,

Currently no option is available for reading this information from ICS. Also converting it to MailMessage & MapiMessage is not helpful and we are looking into any such possibility by discussing it with the development team. I will write back here as soon as some feedback is available in this regard.