summaryrefslogtreecommitdiffstats
path: root/cmd/mailer.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mailer.go')
-rw-r--r--cmd/mailer.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/mailer.go b/cmd/mailer.go
index af6613f159..d05fee12bc 100644
--- a/cmd/mailer.go
+++ b/cmd/mailer.go
@@ -17,7 +17,8 @@ func runSendMail(c *cli.Context) error {
ctx, cancel := installSignals()
defer cancel()
- setting.LoadFromExisting()
+ setting.InitProviderFromExistingFile()
+ setting.LoadCommonSettings()
if err := argsSet(c, "title"); err != nil {
return err