aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/lib/emailer.ts3
1 files changed, 2 insertions, 1 deletions
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 {
132 132
133 async sendMail (options: EmailPayload) { 133 async sendMail (options: EmailPayload) {
134 if (!isEmailEnabled()) { 134 if (!isEmailEnabled()) {
135 throw new Error('Cannot send mail because SMTP is not configured.') 135 logger.info('Cannot send mail because SMTP is not configured.')
136 return
136 } 137 }
137 138
138 const fromDisplayName = options.from 139 const fromDisplayName = options.from