Imap4Client: Unexpected end of stream

Nov 14, 2013 at 12:14 PM
Edited Nov 14, 2013 at 12:20 PM
I am trying to use the Imap4Client to connect to an Office365 mailbox.
var client = new Imap4Client();
client.ConnectSsl("outlook.office365.com", 995);
client.Login("test@mydomain.onmicrosoft.com", "password");
client.ConnectSsl fails with ActiveUp.Net.Mail.Imap4Exception : Unexpected end of stream.

How do I move forward from here?
Nov 19, 2013 at 5:28 PM
Hotmail based accounts doesn`t support IMAP.
Only POP3 works.