How do I fix the error pop up for my hotmail account in

How do I fix this error for my hotmail I set automatic setup but it said there is a failed it said "{IMAP} An attempt to connect failed. This could be caused by temporary server unavailability or inconnect settings. Do you want to check the setting? How do I fix this issue the setting is fine and it work but others times there is error how do i fix this issue?

Thank you,
Christopher P. Moyes

You see this message because Microsoft made some changes recently and you cannot add your account as IMAP anymore.
What you need to do is open Mail tab during account setup and choose Exchange, use your email address as username too when prompted and see if it helps.
If you have any other questions, let me know.