We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Not able to access office 365 using IMAP

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

@indianseomarketer

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

@indianseomarketer

We logged a ticket for this case as EMAILNET-40641. We will inform you via this forum thread once it is resolved.

@indianseomarketer

Please use the attached application to access Office 365 using IMAP with .NET 4.0.
ImapTest.zip (4.5 MB)