Issues in Aspose.Email for Python

Hello,

I am trying the examples project of Aspose.Email for Python via .NET available on GitHub. When I uncomment any function and run RunExamples.py file, I get following:

  • With Python 3.7.0, nothing appears on Python terminal.
  • With Python 3.8.6.2, I get the following error:
Traceback (most recent call last):
  File "d:/Aspose.Email-Python-Dotnet/Examples/RunExamples.py", line 2, in <module>
    from Thunderbird import CreateNewMessagesToThunderbird, GetCurrentMessageSize, GetNumberOfItemsFromMBox, ReadMessagesFromThunderbird
  File "d:\Aspose.Email-Python-Dotnet\Examples\Thunderbird\CreateNewMessagesToThunderbird.py", line 1, in <module>
    import aspose.email
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
KeyError: 'aspose.email'

I also tried creating a sample project by installing the library from pip and same happened.
I am running the examples on Windows 10 x64.

Would you please look into this issue?

@uax99

We are checking this issue and will get back to you soon.

@uax99

We have logged this problem in our issue tracking system as EMAILNET-40519. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

@uax99

Please upgrade to the latest version of Aspose.Email for Python via .NET 22.7, Linux x86, x64. The code examples works at our end using Visual Studio 2019 and 2022.