diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-09-22 11:40:00 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-09-22 11:40:00 +0200 |
commit | 583ed86142b797c667dc68251a4594ea56d47a1b (patch) | |
tree | cf5e62ed83a1390d5dcdc0ba2ebca9384ac9fb5d | |
parent | e6cdd37bc0dcce6f94d9b9810dfd65f7c27331eb (diff) | |
download | mailremind-583ed86142b797c667dc68251a4594ea56d47a1b.tar.gz mailremind-583ed86142b797c667dc68251a4594ea56d47a1b.tar.bz2 mailremind-583ed86142b797c667dc68251a4594ea56d47a1b.zip |
Fixed mail config.
-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 |