Implements notification endpoints backend

This commit is contained in:
Simone Mainardi 2020-04-29 19:46:53 +02:00
parent b214443ad3
commit 7202260a9d
6 changed files with 531 additions and 0 deletions

View file

@ -0,0 +1,29 @@
--
-- (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 = "username", param_type = "password", optional = true },
},
recipient_params = {
{ param_name = "to", param_type = "email" },
{ param_name = "cc", param_type = "email", optional = true },
}
}
-- #################################################################
return endpoint