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

Free Support Forum - aspose.com

Issue in appointment.load(.ics) while importing to pst

i am trying to Import ics file to PST using below code its giving me stack overflow may be its because this ics file have to two attachments .When i am importing normal ics file without any attachment then Appointment.load(.ics) working fine.

				Appointment appointment = Appointment.load(file.getAbsolutePath());					
				MailMessage mailMsg = new MailMessage();

				MapiMessage mess = MapiMessage.fromMailMessage(mailMsg);


						mf.pst.createPredefinedFolder("Calendar", StandardIpmFolder.Appointments);



I have observe the issue shared by you and request you to please provide the source file reproducing the issue on your end.

subject of meeting Craeted just1.zip (1.1 MB)

this is the ics file


I have tried working with sample code shared by you and have unable to use that as there are missing code declaration as shared in following image. Can you please share the working sample code.

image.png (14.4 KB)