IMAP Protocol Error: Expected SPACE Not Found with Microsoft Exchange Server

This error can occur if the user value is not properly formatted.

Date Entered: 11/20/2008    Last Updated: 11/21/2008

When authenticating to an Exchange server using plain-text user/password authentication, if the user value that is specified is not correctly formatted you will see an error from the server "Expected SPACE Not Found". A properly formatted user value should be surrounded by quotes and the backslash should be escaped. For instance:


Or without quotes and a single forward slash. For instance:


We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at