Office 365 as smtp server

Nextcloud version (eg, 20.0.5): 27.0
Operating system and version (eg, Ubuntu 20.04): debian 11
Apache or nginx version (eg, Apache 2.4.25): nginx
PHP version (eg, 7.4): 8.1

The issue you are facing:
I cant add office 365 as an smtp server

Is this the first time you’ve seen this error? (Y/N):
Steps to replicate it:

  1. add office 365 as smtp backend
  2. try to send test email, get error - no messages in the logs

Configs: SMTP Server
Mailadresse as Login (not an shared mailbox)
App Passwort as Password

Tried to activated smtp auth old style - but i guess that doenst work - so we would need oauth2.0 for it

1 Like