>
> 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"))
>
>
>
I think the verify_email_onaccept callback actually takes the user record 
as an argument, not a form (there is no form in this case). So, try:

lambda user: mail.send(to=user.email, ...)

Anthony 

Reply via email to