|
@@ -616,21 +616,18 @@ SMTP = ConfigSection(
|
|
|
type=str,
|
|
type=str,
|
|
|
default="localhost"
|
|
default="localhost"
|
|
|
),
|
|
),
|
|
|
-
|
|
|
|
|
PORT = Config(
|
|
PORT = Config(
|
|
|
key="port",
|
|
key="port",
|
|
|
help=_("The SMTP server port."),
|
|
help=_("The SMTP server port."),
|
|
|
type=int,
|
|
type=int,
|
|
|
default=25
|
|
default=25
|
|
|
),
|
|
),
|
|
|
-
|
|
|
|
|
USER = Config(
|
|
USER = Config(
|
|
|
key="user",
|
|
key="user",
|
|
|
help=_("The username for the SMTP host."),
|
|
help=_("The username for the SMTP host."),
|
|
|
type=str,
|
|
type=str,
|
|
|
default=""
|
|
default=""
|
|
|
),
|
|
),
|
|
|
-
|
|
|
|
|
PASSWORD = Config(
|
|
PASSWORD = Config(
|
|
|
key="password",
|
|
key="password",
|
|
|
help=_("The password for the SMTP user."),
|
|
help=_("The password for the SMTP user."),
|
|
@@ -638,7 +635,6 @@ SMTP = ConfigSection(
|
|
|
private=True,
|
|
private=True,
|
|
|
default="",
|
|
default="",
|
|
|
),
|
|
),
|
|
|
-
|
|
|
|
|
PASSWORD_SCRIPT = Config(
|
|
PASSWORD_SCRIPT = Config(
|
|
|
key="password_script",
|
|
key="password_script",
|
|
|
help=_("Execute this script to produce the SMTP user password. This will be used when the SMTP `password` is not set."),
|
|
help=_("Execute this script to produce the SMTP user password. This will be used when the SMTP `password` is not set."),
|
|
@@ -646,14 +642,12 @@ SMTP = ConfigSection(
|
|
|
private=True,
|
|
private=True,
|
|
|
default="",
|
|
default="",
|
|
|
),
|
|
),
|
|
|
-
|
|
|
|
|
USE_TLS = Config(
|
|
USE_TLS = Config(
|
|
|
key="tls",
|
|
key="tls",
|
|
|
help=_("Whether to use a TLS (secure) connection when talking to the SMTP server."),
|
|
help=_("Whether to use a TLS (secure) connection when talking to the SMTP server."),
|
|
|
type=coerce_bool,
|
|
type=coerce_bool,
|
|
|
default=False
|
|
default=False
|
|
|
),
|
|
),
|
|
|
-
|
|
|
|
|
DEFAULT_FROM= Config(
|
|
DEFAULT_FROM= Config(
|
|
|
key="default_from_email",
|
|
key="default_from_email",
|
|
|
help=_("Default email address to use for various automated notifications from Hue."),
|
|
help=_("Default email address to use for various automated notifications from Hue."),
|