The parameter 'address' cannot be an empty string


#1

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:


#2

@BlitzKing,

I have worked with the issue shared by you and it seems to be an issue in API. An issue with ID EMAILNET-39446 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.


#3

Ok thanks @Adnan.Ahmad


#4

@BlitzKing,

Welcome.