Hello,

I am using the provided 'verify_email' action exposed by Auth facilities to 
verify each user's registration. I wonder if there is a way for retrieving 
user's email (the one that is being verified) so that a welcome message can 
be sent upon the success of verification.

I intend to do this in the model, via 
auth.settings.verify_email_onaccept.append(lambda form: mail.send(to=
'[email protected]',subject='Welcome!', 
                                                              message="new 
user email is %s'%form.vars.email"))


Do I need to do a look-up using the 'registration_key' value that is passed 
to 'verify_email' action? 

Reply via email to