mac os osx yosemite version 10.10.5
outlook for mac 2011 version 14.0.0 (100825)
unable to get any messages on outlook. using exchange server 2010 sp3
error if sending unexpected data was encountered. mail could not be sent. error code 17997
"Unexpected Data was Encountered error
Can connect to Exchange server and receive mail, but when sending, the messages hang in the Outbox with error -17997, unexpected data was encountered.
Users reported these fixes:
: Changed the server name to the URL of used to access OWA via the your browser.
: Tick Override default port in the Outlook 2011 settings and changed the port to 442
The solution I had to take was to create a new identity a second time. The first time I created a new identity didn't work. I suppose there may have been something I had done to complicate matters, but I'd be hard-pressed to say what it was. Once I was sure I had all the user's mail synced and his locally-stored messages complete, I exported an .olm file, created a new identity as the default and imported the .olm file. This time I was able to send messages from the identity.
Working Steps To Fix ‘Mac Outlook Error Code 17997’:
First of all click on all the spot light search glass and then type terminal and after that press enter to open the terminal.
Now to delete the old preferences, one has to type default delete com.Microsoft.Outlook.
In the next step type killall cfprefsd. This will surely remove the cached preferences.
Finally at last try to launch the Outlook again.