Index: openacs-4/packages/adserver/tcl/adserver-ad-monitor-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/adserver/tcl/adserver-ad-monitor-procs.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/adserver/tcl/adserver-ad-monitor-procs.tcl 1 Nov 2003 08:45:37 -0000 1.3 +++ openacs-4/packages/adserver/tcl/adserver-ad-monitor-procs.tcl 2 Dec 2013 09:35:45 -0000 1.4 @@ -28,7 +28,11 @@ if { [ns_time] > [expr $ad_host_administrator_last_notified + 900] } { # more than 15 minutes have elapsed since last note set ad_host_administrator_last_notified [ns_time] - if [catch { ns_sendmail [ad_host_administrator] [ad_system_owner] $subject $body } errmsg] { + if [catch { acs_mail_lite::send \ + -to_addr [ad_host_administrator] \ + -from_addr [ad_system_owner] \ + -subject $subject \ + --body $body } errmsg] { ns_log Error "ad_notify_host_administrator: failed sending email note to [ad_host_administrator]: $subject\n\n$body\n\n " } }