Index: openacs-4/packages/dotlrn/www/member-email.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/member-email.xql,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/dotlrn/www/member-email.xql 8 Aug 2006 21:26:24 -0000 1.2 @@ -0,0 +1,48 @@ + + + + + + + + + + + + select email_id + from dotlrn_member_emails + where community_id = :community_id + and type = 'on join' + + + + + + insert into + dotlrn_member_emails + (community_id, type, from_addr, subject, email) + values + (:community_id, 'on join', :from_addr, :subject, :email) + + + + + + select from_addr, + subject, + email + from dotlrn_member_emails + where email_id = :email_id + + + + + + update dotlrn_member_emails + set from_addr = :from_addr, + subject = :subject, + email = :email + where email_id = :email_id + + + \ No newline at end of file