Hi,
We are using 17.2.0-jdk16 for aspose email. Recently we are facing an issue like "Could not set aspose license… {0} runnning in evaluation mode with limitations: ". I am using windows OS 16.4
Below is the code snippet.
private void loadLicense() {
if (!bLicenseLoaded) {
try {
com.aspose.email.License licEmail = new com.aspose.email.License();
licEmail
.setLicense(getClass().getClassLoader()
.getResourceAsStream(“Aspose.Total.Java.lic”));
bLicenseLoaded = true;
} catch (Exception ex) {
DfLogger.warn(this,
"Could not set aspose license.. {0} runnning in evaluation mode with limitations: "
+ ex.getMessage(), new Object[]{getClass().getClassLoader()
.getResourceAsStream("Aspose.Total.Java.lic")}, null
);
}
}
}
Regards
Sabya