Dear Aspose Team
I am testing the Aspose Email Library with the goal to eliminate the existing java mail api.
Whereas the Unittests with IMAP and POP3 works as expected, I have no luck to get the Aspose Email client running. The old library works well, but if I decide to change to Aspose I would prefere to run all mail - connections via the same library.
Below I have the sourcecode, wich correspondent with the example in the ‘Programmers Guide’.
===== start source example
ExchangeClient client = new ExchangeClient(“https://outlook.office365.com/ews/exchange.asmx 1”, “user”, “password”, “”); ExchangeMailboxInfo mailboxInfo = exchange.getMailboxInfo(); ====== end source example
EXCEPTION: The exception at the method-call ‘getMailboxInfo()’ says:
ExchangeException: The remote server returned an error: (405) Method Not Allowed.
I could not find out, what is wrong with the example above, particularly the account works
with another library.