Implement mailer and add welcome email for POP account
This commit is contained in:
parent
a6b926c9bf
commit
b582b10360
10 changed files with 170 additions and 3 deletions
|
|
@ -22,6 +22,15 @@ type Config struct {
|
|||
}
|
||||
Authelia struct {
|
||||
UsersLocation string `env:"AUTHELIA_USERS_LOCATION"`
|
||||
ResetURL string `env:"AUTHELIA_RESET_URL"`
|
||||
}
|
||||
Mail struct {
|
||||
Host string `env:"MAIL_HOST"`
|
||||
Port int `env:"MAIL_PORT"`
|
||||
Username string `env:"MAIL_USERNAME"`
|
||||
Password string `env:"MAIL_PASSWORD"`
|
||||
FromName string `env:"MAIL_FROM_NAME"`
|
||||
FromAddress string `env:"MAIL_FROM_ADDRESS"`
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue