From: Clinton Ebadi Date: Tue, 25 Feb 2014 10:59:30 +0000 (-0500) Subject: Use sendmail and not exim4 for mail X-Git-Url: http://git.hcoop.net/hcoop/portal.git/commitdiff_plain/a47a0bc22b2d0e26a3fa29440c7fb9fe89d5a444 Use sendmail and not exim4 for mail --- diff --git a/mail.sml b/mail.sml index d0e2d27..d847a57 100644 --- a/mail.sml +++ b/mail.sml @@ -11,7 +11,7 @@ fun writeToLog s = () type session = (TextIO.instream, TextIO.outstream) Unix.proc -fun mopen () = Unix.execute ("/usr/sbin/exim4", ["-t"]) +fun mopen () = Unix.execute ("/usr/sbin/sendmail", ["-t"]) before writeToLog "\nNEW MESSAGE\n" fun mwrite (ses, s) = (TextIO.output (Unix.textOutstreamOf ses, s);