diff options
-rw-r--r-- | mailing.go | 2 | ||||
-rw-r--r-- | mailremind.ini | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 |