diff options
Diffstat (limited to 'server/lib/emailer.ts')
-rw-r--r-- | server/lib/emailer.ts | 3 |
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 |