MS Exchange Server requires authenticate plain when connecting with SSL.
Login or Authenticate Login do not work.
(At least in the configurations I encountered)
Also Imap4Client has problems parsing Exchange Server Responses.
Files to Fix:
ActiveUp.Net.Common\SaslMechanism.cs: Simply uncomment Enum entry "Plain"
- Add new method _Plain (similar to _Login)
- Extend method Authenticate to call _Plain
- Change method CommandBinary(string command, string stamp, CommandOptions options = null) to
also check for "+\r\n" the same way as for "+ " since Exchange returns "+\r\n".
The code changes are attached.