GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: My environmental monitoring stuff for the house.
Clone URL: git://github.com/dustin/environ.git
Renamed Server to MailServer to allow for other servers.
dustin (author)
Fri Jun 20 21:10:58 -0700 2008
commit  8f857580044e7966c84a0723a100e81e48f92ed6
tree    23b883c1021f569a246a795e767f09fd3659e70b
parent  b45be4cfdf5ae80d8d04dc377e6c702712db32ad
...
53
54
55
56
 
57
58
 
59
60
61
...
53
54
55
 
56
57
 
58
59
60
61
0
@@ -53,9 +53,9 @@ start_handler(Owner) ->
0
 
0
 % Generic alert send function
0
 gen_alert(Recips, Subject, Msg) ->
0
- Server = environ_utilities:get_env(mail_server, "mail"),
0
+ MailServer = environ_utilities:get_env(mail_server, "mail"),
0
   lists:foreach(fun (To) ->
0
- env_alert_mailer:send_message(To, Server, Subject, Msg)
0
+ env_alert_mailer:send_message(To, MailServer, Subject, Msg)
0
     end, Recips).
0
 
0
 % Send an alert -- this only happens within a mnesia transaction

Comments

    No one has commented yet.