mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 08:50:12 +00:00
29 lines
767 B
Lua
29 lines
767 B
Lua
--
|
|
-- (C) 2020 - ntop.org
|
|
--
|
|
|
|
--
|
|
-- This module implements defines the email endpoint
|
|
--
|
|
|
|
local endpoint = {}
|
|
|
|
-- #################################################################
|
|
|
|
endpoint = {
|
|
key = "email",
|
|
conf_params = {
|
|
{ param_name = "smtp_server", param_type = "text" },
|
|
{ param_name = "email_sender", param_type = "email" },
|
|
{ param_name = "smtp_username", param_type = "text", optional = true },
|
|
{ param_name = "smtp_password", param_type = "password", optional = true },
|
|
},
|
|
recipient_params = {
|
|
{ param_name = "email_recipient", param_type = "email" },
|
|
{ param_name = "cc", param_type = "email", optional = true },
|
|
}
|
|
}
|
|
|
|
-- #################################################################
|
|
|
|
return endpoint
|