Hotmail not working

I have finally fixed hotmail to work. I looked at the settings on my phone email app. It is setup through exchange using m.hotmail.com.
I went into the account settings on emclient and got the following to work.
IMAP
m.hotmail.com
Port 993
SMTP
m.hotmail.com
port 587

I am now able to send/receive emails as I should.

If the account is setup with oAuth, it should not work.

Look at the General tab for that account. Does it have an authentication section, with a username and password?