Index: openacs-4/packages/acs-authentication/tcl/sync-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-authentication/tcl/sync-procs.tcl,v diff -u -r1.33 -r1.34 --- openacs-4/packages/acs-authentication/tcl/sync-procs.tcl 10 Jan 2007 21:22:01 -0000 1.33 +++ openacs-4/packages/acs-authentication/tcl/sync-procs.tcl 12 Jul 2009 01:08:23 -0000 1.34 @@ -179,11 +179,11 @@ # Only send out email if not an interactive job with_catch errmsg { - ns_sendmail \ - [ad_system_owner] \ - [ad_system_owner] \ - "Batch user synchronization for $job(authority_pretty_name) complete" \ - "Batch user synchronization for $job(authority_pretty_name) is complete. + acs_mail_lite::send -send_immediately \ + -to_addr [ad_system_owner] \ + -from_addr [ad_system_owner] \ + -subject "Batch user synchronization for $job(authority_pretty_name) complete" \ + -body "Batch user synchronization for $job(authority_pretty_name) is complete. Authority : $job(authority_pretty_name) Running time : $job(run_time_seconds) seconds