I don't think you noticed that Bruno changed the name of the lambda argument to USER:
auth.settings.verify_email_onaccept = lambda USER: mail.send(to='antoni...@cires.pt',subject='Conta pendente de Aprovação. Portal Empreiteiros',message=repr(USER)) Anthony On Thursday, January 24, 2013 9:04:50 AM UTC-5, Ramos wrote: > > GLOBAL NAME USER IS NOT DEFINED!!!!! > :) > > i tried also "USERS" but same error!!! > > > > 2013/1/24 Bruno Rocha <rocha...@gmail.com <javascript:>> > >> auth.settings.verify_email_onaccept = lambda USER: >> mail.send(to='antoni...@cires.pt <javascript:>',subject='Conta pendente de >> Aprovação. Portal Empreiteiros',message=repr(USER)) >> >> -- >> >> >> >> > > --