join: use generic sendmail instead of exim4
authorClinton Ebadi <clinton@unknownlamer.org>
Tue, 25 Feb 2014 10:20:51 +0000 (05:20 -0500)
committerClinton Ebadi <clinton@unknownlamer.org>
Tue, 25 Feb 2014 10:20:51 +0000 (05:20 -0500)
sendmail will be linked to whatever mta is available

app/app.sml

index 52b9877..12abe57 100644 (file)
@@ -62,7 +62,7 @@ fun sendMail (to, subj, intro, footer, id) =
                 C.stringFromSql other)
              | _ => raise Fail "Bad sendMail row"
 
-       val proc = Unix.execute ("/usr/sbin/exim4", ["-t"])
+       val proc = Unix.execute ("/usr/sbin/sendmail", ["-t"])
        fun mwrite s = TextIO.output (Unix.textOutstreamOf proc, s)
     in
        mwrite ("From: Hcoop Application System <join@hcoop.net>\nTo: ");