Hello, my organization bought the license for Aspose Total for Java some years ago, right now when i use the license for aspose (pdf or word or html) everything works fine but when i use aspose email i get the error below :
com.aspose.email.system.exceptions.InvalidOperationException: class com.aspose.email.system.exceptions.InvalidOperationException: Failed to set license. Details: Index 2 out of bounds for length 2
com.aspose.email.License.setLicense(SourceFile:338)
Use on servers (8 GB of RAM / Centos 7 / Jdk 1.7) (8 GB of RAM / ubuntu / Jdk 11)
The code is so simple, it’s just to see if the license works or not.
Plugins : Aspose.Email Java for Python
self.license = jpype.JClass(“com.aspose.email.License”)
license = self.license()
license.setLicense(“Aspose.Total.Java.lic”)
Thank you