Skip to content

Microsoft 365 and Exchange

For Microsoft, the wizard has three tiles:

  • Microsoft 365 for work and school accounts
  • Outlook for personal accounts at Outlook.com, Hotmail and Live
  • Microsoft Exchange for self-hosted Exchange servers

Microsoft 365 and Outlook connect by signing in with Microsoft: no password ends up in YouniqMail, and two-factor sign-in works without detours. That holds as long as the Use OAuth2 switch is on, as it is by default. If you switch it off, you enter a password instead, and YouniqMail stores it.

  1. Settings → Email Accounts → Add Email Account
  2. Pick Microsoft 365 or Outlook.
  3. Enter Your name and your address.
  4. Click Sign in with Microsoft. Your default browser opens Microsoft’s sign-in page. Choose your account there, sign in and confirm the access.
  5. Back in YouniqMail: Test Connection, then Continue and Finish.

The Microsoft 365 tile only accepts work and school accounts. For a personal Microsoft account, even with a personal Microsoft 365 subscription, pick Outlook.

Test Connection checks receiving and sending. If only sending fails with these two tiles, that does not stop you: instead of the success message you get a hint with the server’s answer, and Continue still appears. You can add the account, but sending may not work until this is solved. Some organizations switch off SMTP sign-in (SMTP AUTH) for the mailbox; an administrator then has to allow it first.

Microsoft files sent mail in Sent itself. YouniqMail does not upload a copy of its own, so nothing shows up twice. This applies to mail sent through Microsoft’s outgoing mail server. When mail goes out through a different one, YouniqMail uploads the copy itself.

You can bring over your contacts from Microsoft 365 and Outlook directly (Pro), see Importing contacts.

For self-hosted Exchange servers there is the Microsoft Exchange tile. YouniqMail connects to the server via IMAP and SMTP. Both must be enabled on the server; there is no other way of connecting to Exchange.

  1. Enter Your name, address and password. Once address and password are filled in, YouniqMail looks up the server details via Autodiscover, the same mechanism Outlook uses. The lookup starts when you leave the field, not while you type. It does not overwrite servers you entered yourself. The Autodiscover button starts the lookup again and overwrites your entries too.
  2. Check the servers and ports filled in. If Autodiscover finds nothing, you see suggestions following the pattern imap. and smtp. plus your domain, which you correct if needed.
  3. Test Connection, then Continue and Finish.

If the lookup leads to a server outside your mail domain, or a server asks for your password, Allow this server? appears. Choose Allow only if you know the server named there, for example because your mail server is hosted there. Otherwise choose Skip and enter the servers yourself.

Test Connection checks receiving and sending. If the test fails, the message names the reason and marks the field concerned: a rejected password, a server that was not found, a refused connection or an encryption that does not match the port. If your server has a certificate from a company-internal certificate authority, the test reports that it does not trust it; what helps then is explained under Connection fails.

The username is always your address; there is no field of its own for it. If you sign in with a different name, such as DOMAIN\user, set up the account via Setup manually (custom IMAP / SMTP). Your administrator knows the right values.

The browser does not open: The sign-in happens in your default browser. Check that one is set up and try again.

Connection failed although the sign-in worked: With Microsoft 365, the organization can disable IMAP. The message then shows the server’s text. That is a server-side setting only the administrator can change.

Nothing works after a password change: The stored sign-in is then invalid, and YouniqMail tells you which account it expired for. Open Settings → Email Accounts and choose the account. Above its settings, the yellow notice Sign-in expired offers the Sign in again button. The account’s emails, folders and settings are kept. Every Microsoft account also offers Sign in again under Actions, even before such a message appears.

In the browser, choose the same Microsoft account the account was set up with. If you choose another one, YouniqMail reports “A different Microsoft account was chosen in the browser”, and the previous sign-in stays as it was.