mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 22:30:56 +03:00
data retention: allow to notify results via e-mail
This commit is contained in:
@@ -111,7 +111,7 @@ func (s *Service) Start() error {
|
||||
os.Exit(1)
|
||||
}
|
||||
smtpConfig := config.GetSMTPConfig()
|
||||
err = smtpConfig.Initialize()
|
||||
err = smtpConfig.Initialize(s.ConfigDir)
|
||||
if err != nil {
|
||||
logger.Error(logSender, "", "unable to initialize SMTP configuration: %v", err)
|
||||
logger.ErrorToConsole("unable to initialize SMTP configuration: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user