summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-09-22 11:40:00 +0200
committerKevin Chabowski <kevin@kch42.de>2013-09-22 11:40:00 +0200
commit583ed86142b797c667dc68251a4594ea56d47a1b (patch)
treecf5e62ed83a1390d5dcdc0ba2ebca9384ac9fb5d
parente6cdd37bc0dcce6f94d9b9810dfd65f7c27331eb (diff)
downloadmailremind-583ed86142b797c667dc68251a4594ea56d47a1b.tar.gz
mailremind-583ed86142b797c667dc68251a4594ea56d47a1b.tar.bz2
mailremind-583ed86142b797c667dc68251a4594ea56d47a1b.zip
Fixed mail config.
-rw-r--r--mailing.go2
-rw-r--r--mailremind.ini2
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