Index: openacs-4/packages/monitoring/tcl/watchdog-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/monitoring/tcl/watchdog-procs.tcl,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/monitoring/tcl/watchdog-procs.tcl 1 Nov 2003 08:45:38 -0000 1.3 +++ openacs-4/packages/monitoring/tcl/watchdog-procs.tcl 2 Dec 2013 09:09:56 -0000 1.4 @@ -115,7 +115,7 @@ } { set system_owner [ad_system_owner] foreach person [wd_people_to_notify] { - ns_sendmail $person $system_owner $subject $message + acs_mail_lite::send -to_addr $person -from_addr $system_owner -subject $subject -body $message } } Index: openacs-4/packages/recruiting/www/admin/assign-candidate-interview-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/recruiting/www/admin/assign-candidate-interview-2.tcl,v diff -u -N -r1.6 -r1.7 --- openacs-4/packages/recruiting/www/admin/assign-candidate-interview-2.tcl 1 Mar 2005 00:01:40 -0000 1.6 +++ openacs-4/packages/recruiting/www/admin/assign-candidate-interview-2.tcl 2 Dec 2013 09:09:56 -0000 1.7 @@ -55,7 +55,7 @@ set sender_email [db_string get_sender_email {}] set interviewer_email [db_string get_interviewer_email {}] - catch {ns_sendmail $interviewer_email $sender_email "$subject" "$body"} message_send_errors + catch {acs_mail_lite::send -to_addr $interviewer_email -from_addr $sender_email -subject $subject -body $body} message_send_errors recruiting::interview::new \ -interviewer_id $search_user_id \ Index: openacs-4/packages/spreadsheet/www/example-form.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/spreadsheet/www/example-form.tcl,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/spreadsheet/www/example-form.tcl 28 Mar 2011 19:45:19 -0000 1.2 +++ openacs-4/packages/spreadsheet/www/example-form.tcl 2 Dec 2013 09:09:56 -0000 1.3 @@ -88,7 +88,7 @@ set message_body $input_array(message) append message_body "\n\nfrom ip: [ns_conn peeraddr]" - ns_sendmail $to $from $subject $message_body + acs_mail_lite::send -to_addr $to -from_addr $from -subject $subject -body $message_body lappend user_message_list "Your message has been sent." } Index: openacs-4/packages/webmail-system/tcl/webmail-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/webmail-system/tcl/webmail-procs.tcl,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/webmail-system/tcl/webmail-procs.tcl 15 Jan 2009 21:39:48 -0000 1.2 +++ openacs-4/packages/webmail-system/tcl/webmail-procs.tcl 2 Dec 2013 09:05:28 -0000 1.3 @@ -294,13 +294,18 @@ ad_proc -public mail_send { sender recipients subject body } { Sends an email over Sendmail installed locally } { - ns_log debug "WEBMAIL: Starting the ns_sendmail command..." + ns_log debug "WEBMAIL: Starting the sendmail command..." - if [catch { ns_sendmail $recipients $sender $subject $body } errmsg] { + if [catch { acs_mail_lite::send \ + -to_addr [split $recipients ,] \ + -from_addr $sender \ + -subject $subject \ + -body $body + } errmsg] { ns_log debug "WEBMAIL: Email to $recipients failed: $errmsg" } - ns_log debug "WEBMAIL: Ending the ns_sendmail command..." + ns_log debug "WEBMAIL: Ending the sendmail command..." } Index: openacs-4/packages/wp-slim/www/invite-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/wp-slim/www/invite-2.tcl,v diff -u -N -r1.6 -r1.7 --- openacs-4/packages/wp-slim/www/invite-2.tcl 12 Sep 2013 20:47:19 -0000 1.6 +++ openacs-4/packages/wp-slim/www/invite-2.tcl 2 Dec 2013 09:01:40 -0000 1.7 @@ -40,6 +40,6 @@ [_ wp-slim.lt_From_user_name_user_e] "] -ns_sendmail $email $user_email "[_ wp-slim.lt_WimpyPoint_Invitation]" "$email_content" +acs_mail_lite::send -to_addr $email -from_addr $user_email -subject [_ wp-slim.lt_WimpyPoint_Invitation] -body $email_content ad_return_template Index: openacs-4/packages/wp-slim/www/presentation-acl-add-3.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/wp-slim/www/presentation-acl-add-3.tcl,v diff -u -N -r1.6 -r1.7 --- openacs-4/packages/wp-slim/www/presentation-acl-add-3.tcl 12 Sep 2013 20:47:19 -0000 1.6 +++ openacs-4/packages/wp-slim/www/presentation-acl-add-3.tcl 2 Dec 2013 09:01:40 -0000 1.7 @@ -27,7 +27,11 @@ from parties where party_id = :user_id } - ns_sendmail $email_from_search $sender_email "[_ wp-slim.lt_WimpyPoint_Authorizat]" "$message" + acs_mail_lite::send \ + -to_addr $email_from_search \ + -from_addr $sender_email \ + -subject [_ wp-slim.lt_WimpyPoint_Authorizat] \ + -body $message } set privilege_list "wp_view_presentation"