Mail app unable to verify account name or password

Lately, I 've been experiencing a problem with my hotmail account when I try to get connected through the mail.app on my Mac (I have the latest version of MacOS installed). It cannot get connected and actually this is the error message that pops out. enter image description here

I have also tried to delete my hotmail account and re-add it, without any success. Also, I have tried Microsoft Outlook for Mac and I experience the same problem. IMAP settings seem to be correct.

All my other accounts work properly.

P.S. I can get connected to my hotmail account when I use a browser.


Solution 1:

I created an outlook.com alias per the link below and it now works See the link below:

http://www.macworld.co.uk/how-to/mac-software/set-up-hotmail-on-mac-os-x-3628423/

I also deleted my account and re-added to switch from pop3 to Imap.