Use sendmail and not exim4 for mail
authorClinton Ebadi <clinton@unknownlamer.org>
Tue, 25 Feb 2014 10:59:30 +0000 (05:59 -0500)
committerClinton Ebadi <clinton@unknownlamer.org>
Tue, 25 Feb 2014 10:59:30 +0000 (05:59 -0500)
mail.sml

index d0e2d27..d847a57 100644 (file)
--- 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);