Index: openacs-4/packages/acs-mail-lite/catalog/acs-mail-lite.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-mail-lite/catalog/acs-mail-lite.en_US.ISO-8859-1.xml,v diff -u -r1.6 -r1.7 --- openacs-4/packages/acs-mail-lite/catalog/acs-mail-lite.en_US.ISO-8859-1.xml 5 Dec 2006 04:23:38 -0000 1.6 +++ openacs-4/packages/acs-mail-lite/catalog/acs-mail-lite.en_US.ISO-8859-1.xml 8 Apr 2007 08:25:14 -0000 1.7 @@ -1,8 +1,9 @@ - + Associated Files: BCC + Bouncing recorded as disabled. You will receive E-Mails again. CC Send copy to multiple addresses separated by ";" Check/Uncheck Index: openacs-4/packages/acs-mail-lite/tcl/bounce-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-mail-lite/tcl/Attic/bounce-procs.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/acs-mail-lite/tcl/bounce-procs.tcl 8 Apr 2007 08:12:51 -0000 1.1 +++ openacs-4/packages/acs-mail-lite/tcl/bounce-procs.tcl 8 Apr 2007 08:25:14 -0000 1.2 @@ -137,7 +137,7 @@ array set user $notification_list set user_id $user(user_id) - set body "Dear $user(name),\n\nDue to returning mails from your email account, we currently do not send you any email from our system. To reenable your email account, please visit\n[ad_url]/register/restore-bounce?[export_url_vars user_id]" + set body "Dear $user(name),\n\nDue to returning mails from your email account, we currently do not send you any email from our system. To reenable your email account, please visit\n[ad_url]/acs-mail-lite/restore-bounce?[export_url_vars user_id]" send -to_addr $notification_list -from_addr $notification_sender -subject $subject -body $body -valid_email ns_log Notice "Bounce notification send to user $user_id" Index: openacs-4/packages/acs-mail-lite/www/restore-bounce.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-mail-lite/www/restore-bounce.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-mail-lite/www/restore-bounce.adp 8 Apr 2007 08:25:14 -0000 1.1 @@ -0,0 +1,13 @@ + + @page_title;noquote@ + @context;noquote@ + +

#acs-mail-lite.Bounce_disabled#

+ +

+ » #acs-subsite.Continue# +

+ + + + Index: openacs-4/packages/acs-mail-lite/www/restore-bounce.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-mail-lite/www/restore-bounce.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-mail-lite/www/restore-bounce.tcl 8 Apr 2007 08:25:14 -0000 1.1 @@ -0,0 +1,16 @@ +ad_page_contract { + The page restores a user from the deleted state. + @cvs-id $Id: restore-bounce.tcl,v 1.1 2007/04/08 08:25:14 maltes Exp $ +} { + {return_url {[ad_pvt_home]}} +} + +set page_title [_ acs-mail-lite.Restore_bounce] +set context [list [list [ad_pvt_home] [ad_pvt_home_name]] $page_title] + +# We do require authentication, though their account will be closed +set user_id [auth::require_login] + +db_dml unbounce_user "update users set email_bouncing_p = 'f' where user_id = :user_id" +# Used in a message key +set system_name [ad_system_name]