Admin tools: handle bad SMTP configuration error on account creation

This commit is contained in:
yu-i-i
2026-09-22 02:41:43 +02:00
parent 539e155d6b
commit 590bf506ac
3 changed files with 30 additions and 9 deletions
@@ -77,6 +77,7 @@ function getClient() {
}
async function sendEmail(options, emailType) {
console.log("EMAIL_SETTINGS = ", EMAIL_SETTINGS)
try {
const canContinue = await checkCanSendEmail(options)
metrics.inc('email_status', {