aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/emailer.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/emailer.ts')
-rw-r--r--server/lib/emailer.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts
index 85cc725fa..d17749b9a 100644
--- a/server/lib/emailer.ts
+++ b/server/lib/emailer.ts
@@ -60,6 +60,8 @@ class Emailer {
60 async checkConnectionOrDie () { 60 async checkConnectionOrDie () {
61 if (!this.transporter) return 61 if (!this.transporter) return
62 62
63 logger.info('Testing SMTP server...')
64
63 try { 65 try {
64 const success = await this.transporter.verify() 66 const success = await this.transporter.verify()
65 if (success !== true) this.dieOnConnectionFailure() 67 if (success !== true) this.dieOnConnectionFailure()