I have three email accounts in my Outlook app on my Samsung phone. One Gmail, one Hotmail (yes, I still have my original Hotmail account), and one with my service provider Rogers in Canada.
All three are IMAP and all three worked fine up until about a week and a half ago when my Rogers account just wouldn't sign in for whatever reason. The GMail and Hotmail are still working fine. I tried everything I could find through Google searches with
no success.
What 'did' work for me however was this:
Rogers uses Yahoo mail as their backbone email hosting service, and they also have this thing called 'App Passwords' which requires specific email passwords for designated apps so that you're not using your actual Rogers account creds to sign into a third
party email app. So, that is 'one' part of the solution. Although, I had originally set this up when I first configured Outlook on my phone, but I tried changing it anyway, still no luck, until I did the following as well
The 'second' part of the solution was when I deleted the Rogers account in my Outlook then tried recreating it (not uninstalling the app, just deleting the troublesome account), and when I entered my email address, I selected Advanced settings and noticed
that Outlook had automatically detected the Yahoo mail server addresses mail.yahoo.com for both IMAP and SMTP, but it also filled in automatically 'android' as a prefix. ie.
android.imap.mail.yahoo.com
and
android.smtp.mail.yahoo.com
I am 99.99% sure that when I originally configured Outlook I had only used imap.mail.yahoo.com and smtp.mail.yahoo.com, but now out of the blue it seems to require the 'android' prefix??
I'm pretty sure this is a very unique set of requirements for my specific situation, but I figured I'd just let others know that this is what worked for me and maybe might work for them.