mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 09:50:09 +00:00
29 lines
747 B
Lua
29 lines
747 B
Lua
--
|
|
-- (C) 2020 - ntop.org
|
|
--
|
|
|
|
--
|
|
-- This module implements defines the email endpoint
|
|
--
|
|
|
|
local endpoint = {}
|
|
|
|
-- #################################################################
|
|
|
|
endpoint = {
|
|
key = "email",
|
|
conf_params = {
|
|
{ param_name = "smtp_server_name", param_type = "string" },
|
|
{ param_name = "sender", param_type = "email" },
|
|
{ param_name = "username", param_type = "string", optional = true },
|
|
{ param_name = "password", param_type = "password", optional = true },
|
|
},
|
|
recipient_params = {
|
|
{ param_name = "to", param_type = "email" },
|
|
{ param_name = "cc", param_type = "email", optional = true },
|
|
}
|
|
}
|
|
|
|
-- #################################################################
|
|
|
|
return endpoint
|