From 583ed86142b797c667dc68251a4594ea56d47a1b Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sun, 22 Sep 2013 11:40:00 +0200 Subject: Fixed mail config. --- mailing.go | 2 +- mailremind.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mailing.go b/mailing.go index 0c2f26b..005bb8e 100644 --- a/mailing.go +++ b/mailing.go @@ -24,7 +24,7 @@ func Mail(to, from string, msg []byte) bool { func initMailing() { meth := confhelper.ConfStringOrFatal(conf, "mail", "method") - MailFrom = confhelper.ConfStringOrFatal(conf, "mail", "addr") + MailFrom = confhelper.ConfStringOrFatal(conf, "mail", "from") parallel := confhelper.ConfIntOrFatal(conf, "mail", "parallel") if parallel <= 0 { diff --git a/mailremind.ini b/mailremind.ini index 59e9e2e..eab168d 100644 --- a/mailremind.ini +++ b/mailremind.ini @@ -22,7 +22,7 @@ driver=mysql conf=mailremind:mailremind@tcp/mailremind [mail] -addr=nobody@yourdomain +from=nobody@yourdomain parallel=10 # You need to set the 'method' variable here. Possible values are: # sendmail -- cgit v1.2.3-70-g09d2