Hello,
we are trying to load emails sorted from an exchange server. We are using the builder with following code:
builder.getFrom().orderBy(true)
client.listMessagesByPage(folderUri, builder.getQuery(), 50).getItems();
We get an Exception:
class com.aspose.email.system.exceptions.KeyNotFoundException: The given key was not present in the dictionary.
com.aspose.email.system.collections.generic.Dictionary.get_Item(Unknown Source)
com.aspose.email.zpt.a(SourceFile:7514)
com.aspose.email.zpt.b(SourceFile:7464)
com.aspose.email.zpt.a(SourceFile:7396)
com.aspose.email.zpt.a(SourceFile:7270)
com.aspose.email.zpt.a(SourceFile:7229)
com.aspose.email.zpt.a(SourceFile:7210)
com.aspose.email.zpt.a(SourceFile:8621)
com.aspose.email.zpt.listMessagesByPage(SourceFile:8480)
It does work for
builder.getSubject().orderBy(true)
and
builder.getInternalDate().orderBy(true)
Can you fix this? Itâs not our fault as far as we can see, since we donât do anything different with the âgetFrom()âŚâ than with the other methods.
Thank you very much,
Sigur