It looks like the issue might be related to the authentication method used by your SMTP server. The error message indicates that the authentication type is unrecognized.
To resolve this issue, you may want to try using a different authentication method, such as "login" or "plain". Uncomment the SMTP_AUTH_METHOD=plain
line in your configuration file and see if that helps.
Additionally, you may want to enable STARTTLS encryption to secure your email communication. Uncomment the SMTP_ENABLE_STARTTLS=auto
line in your configuration file to enable STARTTLS.
Here is what your updated configuration file might look like:
makefileCopy code
SMTP_SERVER=smtp-legacy.office365.com
SMTP_PORT=587
SMTP_LOGIN=******@domain.net
SMTP_PASSWORD=
SMTP_AUTH_METHOD=plain
SMTP_OPENSSL_VERIFY_MODE=none
SMTP_ENABLE_STARTTLS=auto
SMTP_FROM_ADDRESS=******@domain.net
Save the changes and restart your Mastodon server. Test your SMTP connection again and see if it works. If you still have issues, you may want to contact your email provider to check if there are any specific requirements or restrictions for SMTP authentication.