mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Change email subject for alerts (#7969)
This commit is contained in:
parent
1b224d53ee
commit
3ece52646f
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ function email.sendEmail(subject, message_body, settings)
|
|||
local product = ntop.getInfo(false).product
|
||||
local info = ntop.getHostInformation()
|
||||
|
||||
subject = product .. " [" .. info.instance_name .. "@" .. info.ip .. "] " .. subject
|
||||
subject = product .. " [" .. info.instance_name .. " (" .. info.ip .. ")] " .. subject
|
||||
|
||||
if not string.find(smtp_server, "://") then
|
||||
smtp_server = "smtp://" .. smtp_server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue