For some reason our E-Mail outbound does not work anymore and I get now an error 535. I rechecked the E-Mail account. I can login there and use it from Apple Mail. SMTP Mail sending I also tested with Apple Mail. But discourse gives me this error message “ERROR – 535 auth failure”. I am not sure, how to proceed here. Is SMTP still supported?
My tests until now:
I tried different Mail Accounts
I tested the Mail Accounts with another Mail Software
I updated to the latest discourse version. (3.2.0.beta1-dev)
Unfortunately, I don’t know how to retrieve more detail here. Is there any option to enable more debug information in that case? On the command line there is no context. The error appears in the UI.
What other information would help? The remote server is telling you authentication failed. There’s not a lot more we can say.
Do you have 2FA or MFA turned on for this mail account? This might prevent SMTP AUTH from working.
If not, can you try SMTP by hand to see if the authentication works?
You need to first construct the authentication string (a base64-encoded string of username␀username␀password)
I suggest using python:
○ → ipython3
In [1]: import base64
In [2]: import getpass
In [3]: u, p = 'michael', getpass.getpass()
Password: (paste or type password here)
In [4]: base64.b64encode(f'{u}\x00{u}\x00{p}'.encode()).decode()
Out[4]: 'bWlxxxxxxxxxxxxxxxxxxxxxxxxxxx'
(please change michael to your actual SMTP username if you do this)
DO NOT SHARE THIS STRING IT IS YOUR PLAINTEXT PASSWORD