Hi when i am trying to access office 365 account using imap not able to access it. I fill the username and password for the Office 365 account it always returns Authentication Failed. can you please tell me how to access office 365 using imap. is there any steps or setting we required to access office 365 using imap. please answer
Please get the attached code example to access Office 365 using IMAP.
EWSModernAuthenticationImapSmtp.zip (3.9 KB)
Hope this helps you.
will it work with framework 4.0, if no please share code which will work with dot net framework 4.0
We logged a ticket for this case as EMAILNET-40641. We will inform you via this forum thread once it is resolved.
Please use the attached application to access Office 365 using IMAP with .NET 4.0.
ImapTest.zip (4.5 MB)