GraphClinet listMessage Exception

Hi

I am using Aspose email version 21.10 on Windows. Wih one specific msg file method IGraphClient.listMessages throws an exception:
class com.aspose.email.system.exceptions.FormatException: The specified string is not in the form required for an e-mail address.
com.aspose.email.MailAddress.g(SourceFile:885)

com.aspose.email.MailAddress.a(SourceFile:837)

com.aspose.email.MailAddress.(SourceFile:134)

com.aspose.email.MailAddress.(SourceFile:79)

com.aspose.email.GraphMessageInfo.a(SourceFile:380)

com.aspose.email.GraphMessageInfo.a(SourceFile:34)

com.aspose.email.GraphMessageInfoCollection.a(SourceFile:32)

com.aspose.email.zyy.a(SourceFile:89)

com.aspose.email.zyc.a(SourceFile:50)

com.aspose.email.zyd.n(SourceFile:64)

com.aspose.email.zye.listMessages(SourceFile:175)

com.jcds.omni.emails.triage.aspose.AsposeGraphEmailClient.HandleEmailsAspose(AsposeGraphEmailClient.java:668)

com.jcds.omni.emails.triage.auto_ingestion.IngestTriageEmails.execute(IngestTriageEmails.java:638)

com.jcds.omni.emails.triage.auto_ingestion.IngestTriageEmails.main(IngestTriageEmails.java:1101)

at com.aspose.email.MailAddress.g(SourceFile:885)

at com.aspose.email.MailAddress.a(SourceFile:837)

at com.aspose.email.MailAddress.(SourceFile:134)

at com.aspose.email.MailAddress.(SourceFile:79)

at com.aspose.email.GraphMessageInfo.a(SourceFile:380)

at com.aspose.email.GraphMessageInfo.a(SourceFile:34)

at com.aspose.email.GraphMessageInfoCollection.a(SourceFile:32)

at com.aspose.email.zyy.a(SourceFile:89)

at com.aspose.email.zyc.a(SourceFile:50)

at com.aspose.email.zyd.n(SourceFile:64)

at com.aspose.email.zye.listMessages(SourceFile:175)

at com.jcds.omni.emails.triage.aspose.AsposeGraphEmailClient.HandleEmailsAspose(AsposeGraphEmailClient.java:668)

at com.jcds.omni.emails.triage.auto_ingestion.IngestTriageEmails.execute(IngestTriageEmails.java:638)

at com.jcds.omni.emails.triage.auto_ingestion.IngestTriageEmails.main(IngestTriageEmails.java:1101)

Any fixe? How can I know which email adress is wrong?
Regards

Hello,

Could you please try reproducing the issue with the latest version of Aspose.Email and check if the problem still occurs?

Thank you.

Hi

I tested with version 26.1 and issue is solved. I disabled licence setting to be able to test. I got the following error about licence:
Failed to set license. Details: Invalid character in the given encoding. Line 21, position 11.

Do I need to upgrade my licence or there is another issue?

Regards

@elie.kach,

One thing we’d like to clarify: you mentioned that you disabled the license setting, but you’re still getting the error: “Failed to set license…”

If the license setting is fully disabled, the system shouldn’t attempt to load or validate a license.

Could you please confirm:

How exactly was the license setting disabled?

Thank you.