HCoop
/
hcoop
/
portal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eddd100
)
join: use generic sendmail instead of exim4
author
Clinton Ebadi
<clinton@unknownlamer.org>
Tue, 25 Feb 2014 10:20:51 +0000
(
05:20
-0500)
committer
Clinton 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
patch
|
blob
|
blame
|
history
diff --git
a/app/app.sml
b/app/app.sml
index
52b9877
..
12abe57
100644
(file)
--- a/
app/app.sml
+++ b/
app/app.sml
@@
-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: ");