How do I add an Office365 account?

We intend to make this easier in the future. For now you’ll have to manually set up Office365 accounts.
Make sure you’re using at least K-9 Mail 6.201.

For this to work, IMAP and SMTP need to be enabled for the domain. Depending on the configuration the administrator may also have to specifically allow the app “K-9 Mail” to be used to access your account.

  1. In the “Set up a new account” screen enter your email address.

  2. Tap the “Manual setup” button.

  3. Tap the “IMAP” button.

  4. Enter under IMAP server.

  5. Change Authentication to OAuth 2.0.

  6. Tap the “Next” button.

  7. If your browser is not already logged in to your Office365 account, you will be asked to log in.

  8. Afterwards you’ll be asked to grant K-9 Mail (published by Mzla Technologies Corporation) the following permissions:

    • Read and write access to your mail.
    • Access to sending emails from your mailbox.
    • Maintain access to data you have given K-9 Mail access to
    • View your basic profile

    Tap “Accept”.

  9. In the “Outgoing server settings” screen enter under SMTP server.

  10. Change Security to STARTTLS (Port should automatically change to 587).

  11. Make sure Authentication is set to OAuth 2.0.

  12. Tap the “Next” button.

  13. K-9 Mail will automatically use the access you’ve granted it in step 8.

  14. Follow the rest of the account setup procedure :slightly_smiling_face: