Implement mailer and add welcome email for POP account

This commit is contained in:
William Bouzourène 2026-05-05 18:58:40 +02:00
parent a6b926c9bf
commit b582b10360
Signed by: bouzoure
GPG key ID: 423440D735B56BE2
10 changed files with 170 additions and 3 deletions

View file

@ -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"`
}
}