SMTP -> ERROR: AUTH not accepted from server: 535 5.7.8 Error: authentication failed:

I get this error when trying to connect to our SMTP cyberpanel setup, from another server.

However, we can use the SMTP settings in the current cyberpanel server and it works fine. See screenshot below.

Here is the logs SMTP wordpress plugin.
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=server.e-cruitment.host' did not match expected CN=mail.workingeverywhere.com’SMTP server error: QUIT command failed Detail: Jh���$��s�]t��l��221 server.e-cruitment.host closing connection
Host: mail.workingeverywhere.com
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)