Outlook Office 365 works with IMAP setting it up this way.
1. goto "Control Panel" If you do not see a control panel like this, select View by: "Small icons."
2. select Mail (Microsoft Outlook)
3. select "set up email accounts and directories "Email Accounts."
4. click on "new"
5. enter "Your Name:"
6. enter "E-mail Address:"
7. enter "Password:"
8. enter "Retype Password:
9. click on next
10. click on next
11. click on next
12. select "POP or IMAP"
13 select Account Type: "IMAP"
14. enter Incoming mail server: e.g. "mail.your-domain-name.co.uk" In other words, prefix your domain with "mail." remember the dot after mail, then your domain name
15. enter Outgoing email server, e.g. "mail.your-domain-name.co.uk" in other words, prefix your domain with "mail." remember the dot after mail, then your domain name
16. "Username:" is your email address
17. enter in your "Password"
18. click on "More Settings"
19. enter in your "Reply Email"
20. click on the "Outgoing Server" Tab
21. click on the "My Outgoing server (SMTP) requires authentication" box
22. click on the "Advance tab"
23. change Incoming server(IMAP) from 143 to "993"
24. change Use the following type of encrypted connection to "SSL/TLS"
25. change Outgoing server(SMTP) from 25 to "587"
26. change Use the following type of encrypted connection to "STARTTTLS"
27. click on "OK"
28. click on "NEXT"
29. you should get two green ticks
30. click on "close"