SMTP otugoing email Test OK. then does not work

Thanks.

In your logs, the message about the subpanel is a different thing - some custom subpanel you have that is not quite correct.

About the email - If you uncomment these lines in the code, you will get additional information in the logs, which I think will be quite helpful for your case:

This will put some more information in your logs to help you troubleshoot.

You’re not authenticating correctly, the server is rejecting your user/password: I think there can two causes for this:

  1. SuiteCRM is not recording your password correctly: there was a bug here, but it should be solved in your version. The first log line will help you make sure.

  2. Some server quirk. The extended SMTP log should give you more details. I know there are open issues with problems authenticating with Microsoft 365 accounts, for example.