diff --git a/server/notification-providers/smtp.js b/server/notification-providers/smtp.js index 9b59ec09b..c274719b8 100644 --- a/server/notification-providers/smtp.js +++ b/server/notification-providers/smtp.js @@ -69,6 +69,8 @@ class SMTP extends NotificationProvider { if (monitorJSON["type"] === "http" || monitorJSON["type"] === "keyword" || monitorJSON["type"] === "json-query") { monitorHostnameOrURL = monitorJSON["url"]; + } else if (monitorJSON["type"] === "group") { + monitorHostnameOrURL = "Group: " + monitorJSON["name"]; } else { monitorHostnameOrURL = monitorJSON["hostname"]; }