Fixed SMTP options env values
This commit is contained in:
14
.env.example
14
.env.example
@@ -289,42 +289,42 @@
|
||||
# The SMTP server hostname.
|
||||
# Type: string
|
||||
# Default: localhost
|
||||
# SMPT_HOST=localhost
|
||||
# SMTP_HOST=localhost
|
||||
|
||||
###############################################################################
|
||||
# The SMTP post.
|
||||
# Type: int
|
||||
# Default: <no value>
|
||||
# SMPT_PORT=<no value>
|
||||
# SMTP_PORT=<no value>
|
||||
|
||||
###############################################################################
|
||||
# The SMTP username.
|
||||
# Type: string
|
||||
# Default: <no value>
|
||||
# SMPT_USER=<no value>
|
||||
# SMTP_USER=<no value>
|
||||
|
||||
###############################################################################
|
||||
# The SMTP password.
|
||||
# Type: string
|
||||
# Default: <no value>
|
||||
# SMPT_PASS=<no value>
|
||||
# SMTP_PASS=<no value>
|
||||
|
||||
###############################################################################
|
||||
# The SMTP `from` email parameter
|
||||
# Type: string
|
||||
# Default: <no value>
|
||||
# SMPT_FROM=<no value>
|
||||
# SMTP_FROM=<no value>
|
||||
|
||||
###############################################################################
|
||||
# Allow insecure (invalid, expired TLS certificates) connections.
|
||||
# Type: bool
|
||||
# Default: <no value>
|
||||
# SMPT_TLS_INSECURE=<no value>
|
||||
# SMTP_TLS_INSECURE=<no value>
|
||||
|
||||
###############################################################################
|
||||
# Type: string
|
||||
# Default: <no value>
|
||||
# SMPT_TLS_SERVER_NAME=<no value>
|
||||
# SMTP_TLS_SERVER_NAME=<no value>
|
||||
|
||||
###############################################################################
|
||||
###############################################################################
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
)
|
||||
|
||||
SMTP: schema.#optionsGroup & {
|
||||
handle: "smpt"
|
||||
handle: "smtp"
|
||||
title: "Email sending"
|
||||
|
||||
// @todo remove explicitly defined expIdent and adjust the code
|
||||
|
||||
14
pkg/options/options.gen.go
generated
14
pkg/options/options.gen.go
generated
@@ -66,13 +66,13 @@ type (
|
||||
}
|
||||
|
||||
SMTPOpt struct {
|
||||
Host string `env:"SMPT_HOST"`
|
||||
Port int `env:"SMPT_PORT"`
|
||||
User string `env:"SMPT_USER"`
|
||||
Pass string `env:"SMPT_PASS"`
|
||||
From string `env:"SMPT_FROM"`
|
||||
TlsInsecure bool `env:"SMPT_TLS_INSECURE"`
|
||||
TlsServerName string `env:"SMPT_TLS_SERVER_NAME"`
|
||||
Host string `env:"SMTP_HOST"`
|
||||
Port int `env:"SMTP_PORT"`
|
||||
User string `env:"SMTP_USER"`
|
||||
Pass string `env:"SMTP_PASS"`
|
||||
From string `env:"SMTP_FROM"`
|
||||
TlsInsecure bool `env:"SMTP_TLS_INSECURE"`
|
||||
TlsServerName string `env:"SMTP_TLS_SERVER_NAME"`
|
||||
}
|
||||
|
||||
ActionLogOpt struct {
|
||||
|
||||
Reference in New Issue
Block a user