According to the Web Services log in eM Client, I got the following logfile:
Path: C:\Users\leeho\AppData\Roaming\eM Client\Logs
File: 2019-09-17_05-26-08 Hotmail Exchange Web Services.log
eM Client has no problem connecting to the server. In fact, it even retrieves the folder IDs (rather long strings) from the Exchange mailbox. It can’t do that until after a mail session has been established, and that means eM Client did connect to the Exchange server.
There’s a lot of log entries to go through. Not only does the client access the Exchange mailbox but also the calendar and contacts in the Exchange account. Where the log appears to indicate an error in how eM Client is attempting to access the Outbox folder (which, as far as I know, should only be a local folder, not attempting to access a pending outbound message store on the server) is from the output of (I removed the datestamp prefix in each line since it isn’t relevant):
<trace tag="EwsResponse" tid="18" time="2019-09-17 10:26:09Z" version="7.2.36694.0"><br alt="" name="" rel="" target="" title="" type="" value=""> <?xml version="1.0" encoding="utf-8"?><br alt="" name="" rel="" target="" title="" type="" value=""> <envelope xmlns:s="<a alt=" href="http://schemas.xmlsoap.org/soap/envelope/">" name="" rel="nofollow" target="" title="Link httpschemasxmlsoaporgsoapenvelope" type="" value="">http://schemas.xmlsoap.org/soap/envelope/">;<br alt="" name="" rel="" target="" title="" type="" value="">
<header><br alt="" name="" rel="" target="" title="" type="" value=""> <serverversioninfo majorversion="15" minorversion="20" majorbuildnumber="2263" minorbuildnumber="26" version="V2018_01_08" xmlns:h="<a alt=" href="http://schemas.microsoft.com/exchange/services/2006/types" name="" rel="nofollow" target="" title="Link httpschemasmicrosoftcomexchangeservices2006types" type="" value="">http://schemas.microsoft.com/exchange/services/2006/types"; xmlns:xsd="<a alt="" href="http://www.w3.org/2001/XMLSchema" name="" rel="nofollow" target="" title="" type="" value="">http://www.w3.org/2001/XMLSchema"</a>; xmlns:xsi="<a alt="" href="http://www.w3.org/2001/XMLSchema-instance" name="" rel="nofollow" target="" title="Link httpwwww3org2001XMLSchema-instance" type="" value="">http://www.w3.org/2001/XMLSchema-instance"</a>; /><br alt="" name="" rel="" target="" title="" type="" value=""> </serverversioninfo></header><br alt="" name="" rel="" target="" title="" type="" value=""> <body>
<br alt="" name="" rel="" target="" title="" type="" value=""> <moveitemresponse xmlns:m="<a alt=" href="http://schemas.microsoft.com/exchange/services/2006/messages" name="" rel="nofollow" target="" title="Link httpschemasmicrosoftcomexchangeservices2006messages" type="" value="">http://schemas.microsoft.com/exchange/services/2006/messages"; xmlns:xsd="<a alt="" href="http://www.w3.org/2001/XMLSchema" name="" rel="nofollow" target="" title="" type="" value="">http://www.w3.org/2001/XMLSchema"</a>; xmlns:xsi="<a alt="" href="http://www.w3.org/2001/XMLSchema-instance" name="" rel="nofollow" target="" title="Link httpwwww3org2001XMLSchema-instance" type="" value="">http://www.w3.org/2001/XMLSchema-instance"</a>; xmlns:t="<a alt="" href="http://schemas.microsoft.com/exchange/services/2006/types">" name="" rel="nofollow" target="" title="" type="" value="">http://schemas.microsoft.com/exchange/services/2006/types"></a>;<br alt="" name="" rel="" target="" title="" type="" value=""> <responsemessages><br alt="" name="" rel="" target="" title="" type="" value=""> <moveitemresponsemessage responseclass="Error"><br alt="" name="" rel="" target="" title="" type="" value=""> <messagetext>The move or copy operation failed.</messagetext><br alt="" name="" rel="" target="" title="" type="" value=""> <responsecode>ErrorMoveCopyFailed</responsecode><br alt="" name="" rel="" target="" title="" type="" value=""> <descriptivelinkkey>0</descriptivelinkkey><br alt="" name="" rel="" target="" title="" type="" value=""> <items></items><br alt="" name="" rel="" target="" title="" type="" value=""> </moveitemresponsemessage><br alt="" name="" rel="" target="" title="" type="" value=""> </responsemessages><br alt="" name="" rel="" target="" title="" type="" value=""> </moveitemresponse><br alt="" name="" rel="" target="" title="" type="" value=""> </body>
<br alt="" name="" rel="" target="" title="" type="" value=""> </envelope><br alt="" name="" rel="" target="" title="" type="" value=""></trace>
Exception: MailClient.Storage.Application.OperationException: Moving item(s) from folder 'Hotmail/Outbox/' to folder 'Hotmail/Trash/' failed due to the following error: The move or copy operation failed. ---\> Microsoft.Exchange.WebServices.Data.ServiceResponseException: The move or copy operation failed.
Despite that eM Client’s Outbox folder is now empty after performing a delete of items it listed there, eM Client is still trying to get the Exchange server to move items that either do not exist or for a folder that eM Client shouldn’t be attempting to access. eM Client has already established a mail session and then attempts a MoveItem request, but the server doesn’t like what eM Client is trying to do.
https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/moveitem-operation
While I was correct that a local e-mail client should be using its own local Outbox folder for pending outbound messages, Exchange does have an Outbox. I’ve read where users on different workstations using Outlook connecting to Exchange will see the same items listed in the Outbox for the same Exchange account. That is, multiple instances of Outlook on different hosts but connecting to the same Exchange account would see the same items in the Outbox folder in that Exchange account. When I looked at the Web Services Log created by eM Client, yep, one of the folders queried by the client from the server was named Outbox.
<create><br alt="" name="" rel="" target="" title="" type="" value=""> <folder><br alt="" name="" rel="" target="" title="" type="" value=""> <folderid id="AQMkADAwATZiZmYAZC05NzRkLTE5ZmMtMDACLTAwCgAuAAADg7PVbiqy5kyCrFB1075jIwEA/qlX0PFNT08AgWUuXCiSRmMAAAIBCwAAAA==" changekey="AQAAABYAAAD+qVfQ8U1PT4FlLlwokkZjAAK9d4/K"></folderid><br alt="" name="" rel="" target="" title="" type="" value=""> <parentfolderid id="AQMkADAwATZiZmYAZC05NzRkLTE5ZmMtMDACLTAwCgAuAAADg7PVbiqy5kyCrFB1075jIwEA/qlX0PFNT08AgWUuXCiSRmMAAAIBCAAAAA==" changekey="AQAAAA=="></parentfolderid><br alt="" name="" rel="" target="" title="" type="" value=""> <folderclass>IPF.Note</folderclass><br alt="" name="" rel="" target="" title="" type="" value=""> <displayname>Outbox</displayname><br alt="" name="" rel="" target="" title="" type="" value=""> <distinguishedfolderid>outbox</distinguishedfolderid><br alt="" name="" rel="" target="" title="" type="" value=""> </folder><br alt="" name="" rel="" target="" title="" type="" value=""></create>
While Exchange has an Outbox folder in a mailbox doesn’t mean the Exchange setup for Hotmail/Outlook.com allows clients access to that folder. The Mail app for Win10 (a UWP/WinRT app instead of a Win32 program) doesn’t even show an Outbox folder, and neither does their webmail client. Hotmail/Outlook.com use ActiveSync for accessing Exchange. From the log, sure looks like eM Client is attempting an operation that the Exchange server (as configured for use with Hotmail/Outlook.com) that is illegal. Alas, eM Client seems stuck on attempting to repeatedly issue the same MoveItem command when it loads. It’s gotten into a state that locks it out from any further access to the Exchange account. That makes eM Client unacceptable for use as a local Exchange client.