The IMAP server name for Outlook 365 hosted email accounts is outlook.office365.com In your settings use port 993 and SSL required.