I have an ics stream (downloaded from Exchange) that is giving me the exception
System.ArgumentException : The parameter ‘address’ cannot be an empty string.
The code utilized is
[Test]
public void AsposeOpenIcsWithEmptySmtpAddress()
{
var appointment = Appointment.Load(@"ProblematicAppointment01.ics", new Aspose.Email.Calendar.AppointmentLoadOptions() { IgnoreSmtpAddressCheck = true });
}
The ics file is
ProblematicAppointment01.zip (721 Bytes)
The issue seems to be due to record
ORGANIZER;CN=602c18dc-d68d-47f7-93eb-01fd1d2a5a40;SENT-BY=“MAILTO:”:MAILTO:
If the record was as below, Aspose would not complain
ORGANIZER;CN=602c18dc-d68d-47f7-93eb-01fd1d2a5a40;SENT-BY=“[MAILTO:a@a.a](mailto:a@a.a)”:MAILTO: