auth::send_email_verification_email (private)
auth::send_email_verification_email -user_id user_id
Defined in packages/acs-authentication/tcl/authentication-procs.tcl
Sends out an email to the user that lets them verify their email. Throws an error if we couldn't send out the email.
- Switches:
- -user_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: # These are used in the messages below set token [auth::get_user_secret_token -user_id $user_id] set to_addr [party::get -party_id $user_id -element email] set subsite_url [site_node::get_url -node_id [ad_conn subsite_node_id]] set confirmation_url [export_vars -base "[ad_url]$subsite_url/register/email-confirm" { token user_id }] set system_name [ad_system_name] acs_mail_lite::send -send_immediately -to_addr $to_addr -from_addr "\"$system_name\" <[parameter::get -parameter NewRegistrationEmailAddress -default [ad_system_owner]]>" -subject [_ acs-subsite.lt_Welcome_to_system_nam] -body [_ acs-subsite.lt_To_confirm_your_regis]Generic XQL file: packages/acs-authentication/tcl/authentication-procs.xql
PostgreSQL XQL file: packages/acs-authentication/tcl/authentication-procs-postgresql.xql
Oracle XQL file: packages/acs-authentication/tcl/authentication-procs-oracle.xql