diff --git a/.env.example b/.env.example index 5b10993d6..bb01b14ef 100644 --- a/.env.example +++ b/.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: -# SMPT_PORT= +# SMTP_PORT= ############################################################################### # The SMTP username. # Type: string # Default: -# SMPT_USER= +# SMTP_USER= ############################################################################### # The SMTP password. # Type: string # Default: -# SMPT_PASS= +# SMTP_PASS= ############################################################################### # The SMTP `from` email parameter # Type: string # Default: -# SMPT_FROM= +# SMTP_FROM= ############################################################################### # Allow insecure (invalid, expired TLS certificates) connections. # Type: bool # Default: -# SMPT_TLS_INSECURE= +# SMTP_TLS_INSECURE= ############################################################################### # Type: string # Default: -# SMPT_TLS_SERVER_NAME= +# SMTP_TLS_SERVER_NAME= ############################################################################### ############################################################################### diff --git a/app/options/SMTP.cue b/app/options/SMTP.cue index b339b8853..c464dcd48 100644 --- a/app/options/SMTP.cue +++ b/app/options/SMTP.cue @@ -5,7 +5,7 @@ import ( ) SMTP: schema.#optionsGroup & { - handle: "smpt" + handle: "smtp" title: "Email sending" // @todo remove explicitly defined expIdent and adjust the code diff --git a/pkg/options/options.gen.go b/pkg/options/options.gen.go index e316789c3..4fb54b73c 100644 --- a/pkg/options/options.gen.go +++ b/pkg/options/options.gen.go @@ -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 {