Thank you
you saved my day :)


On Thursday, January 24, 2013 2:31:16 PM UTC+1, rochacbruno wrote:
>
> auth.setting.register_onaccept = lambda form: 
> mail.send(to=['x...@xxx.net<javascript:>
> '],
>           subject='web2py registration',
>           # If reply_to is omitted, then mail.settings.sender is used
>           reply_to='u...@example.com <javascript:>',
>           message= u'A new user has been created on database %s and has to 
> be confirmed - User name: %s, email: %s' % (database, form.vars.first_name 
> + " _" + form.vars.last_name, form.vars.email))
>

-- 



Reply via email to