I’m using Aspose Email 21.8.1 under .Net 6.
When I’m creating a simple Appointment, I always getting a OutOfMemoryException:
Also when I do create an Appointment and save it to disk, I have the same Issue.
using MemoryStream memoryStream = new MemoryStream();
var recipients = new Aspose.Email.MailAddressCollection();
recipients.Add(new Aspose.Email.MailAddress("someotherperson@somedomain.com"));
var appointment = new Appointment("location",
new DateTime(2021, 2, 8, 13, 0, 0),
new DateTime(2021, 2, 8, 14, 0, 0),
new Aspose.Email.MailAddress("someperson@somedomain.com"),
recipients);
// Save the appointment to disk in ICS format
appointment.Save(memoryStream, AppointmentSaveFormat.Ics);