I currently have the following code:
but when I try to connect to Microsoft Office365 (at outlook.office365.com) I can't get it to work (get "LOGIN failed" exception). Is there some other property of the TIdIMAP that I need to set? And what exactly should I put into the UserName/Password fields?
Anyone have some working code that connects to outlook.office365.com using TIdIMAP4 ?
Keld R. Hansen