This does not seem to be a simple configuration issue. The SMTP host, port, TLS settings, domain verification, SPF, and DKIM are all correctly configured.
We were also able to connect to the Brevo SMTP server manually from inside the Docker container and successfully send an email from the terminal. This confirms that the SMTP server, credentials, and network connectivity are working as expected.
Because of that, the issue seems to be related to how Frappe handles SMTP authentication with Brevo, rather than a basic SMTP or DNS configuration problem.
Has anyone successfully configured Brevo SMTP with ERPNext / Frappe v16?
After this, Brevo SMTP works perfectly. No need to patch any source code.
Note: This setting is not exposed in System Settings or Email Account UI ā it only exists in site_config.json. It would be helpful if it was added to the Email Account form.