Index: openacs-4/packages/assessment/sql/oracle/assessment-actions-package-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/sql/oracle/assessment-actions-package-create.sql,v
diff -u -r1.7 -r1.8
--- openacs-4/packages/assessment/sql/oracle/assessment-actions-package-create.sql	15 May 2007 20:14:16 -0000	1.7
+++ openacs-4/packages/assessment/sql/oracle/assessment-actions-package-create.sql	2 Dec 2013 08:56:13 -0000	1.8
@@ -144,7 +144,7 @@
 (you may change your password after you log in)
 Thank you,
 $administration_name"
-ns_sendmail "$email" "$admin_email" "You have been added as a user to [ad_system_name] at [ad_url]" "$message"',
+acs_mail_lite::send -to_addr "$email" -from_addr "$admin_email" -subject "You have been added as a user to [ad_system_name] at [ad_url]" -body "$message"',
 	context_id	=>	context_id,
 	creation_user	=>	creation_user
 	);
@@ -196,7 +196,7 @@
 
 db_1row select_user_info { select email, first_names, last_name from registered_users where user_id = :user_id}
 
-if [catch {ns_sendmail $email $email_from $subject $message} errmsg] {
+if [catch {acs_mail_lite::send -to_addr $email -from_addr $email_from -subject $subject -body $message} errmsg] {
          ad_return_error \
         "Error sending mail" \
         "There was an error sending email to $email."
