diff --git a/server/controllers/monitorController.js b/server/controllers/monitorController.js index 5d6a4665e..6295a9aba 100755 --- a/server/controllers/monitorController.js +++ b/server/controllers/monitorController.js @@ -656,7 +656,7 @@ class MonitorController { return res.error({ msg: this.stringService.errorForValidEmailAddress }); } - const subject = "Test Email from Monitoring System"; + const subject = this.stringService.testEmailSubject; const context = { testName: "Monitoring System" }; const messageId = await this.emailService.buildAndSendEmail( diff --git a/server/locales/en.json b/server/locales/en.json index 5496b0e74..6cd956c37 100755 --- a/server/locales/en.json +++ b/server/locales/en.json @@ -160,5 +160,6 @@ "monitorUpAlert": "Uptime Alert: One of your monitors is back online.\nšŸ“Œ Monitor: {monitorName}\nšŸ“… Time: {time}\nāš ļø Status: UP\nšŸ“Ÿ Status Code: {code}\n\u200B\n", "monitorDownAlert": "Downtime Alert: One of your monitors went offline.\nšŸ“Œ Monitor: {monitorName}\nšŸ“… Time: {time}\nāš ļø Status: DOWN\nšŸ“Ÿ Status Code: {code}\n\u200B\n", "sendTestEmail": "Test email sent successfully", - "errorForValidEmailAddress": "A valid recipient email address is required." + "errorForValidEmailAddress": "A valid recipient email address is required.", + "testEmailSubject": "Test Email from Monitoring System" }