diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts index 42d7650dd..bd1089530 100644 --- a/server/lib/emailer.ts +++ b/server/lib/emailer.ts @@ -132,7 +132,8 @@ class Emailer { async sendMail (options: EmailPayload) { if (!isEmailEnabled()) { - throw new Error('Cannot send mail because SMTP is not configured.') + logger.info('Cannot send mail because SMTP is not configured.') + return } const fromDisplayName = options.from